]> git.sur5r.net Git - u-boot/commitdiff
ehci: mx7: fix usbnc_regs
authorPeng Fan <van.freenix@gmail.com>
Mon, 20 Jun 2016 01:43:08 +0000 (09:43 +0800)
committerMarek Vasut <marex@denx.de>
Fri, 24 Jun 2016 22:57:09 +0000 (00:57 +0200)
There is a 4 bytes hole between phy_cfg2 and phy_status, fix the
usbnc_regs structure to include the hole.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/usb/host/ehci-mx6.c

index bb48d0dea0a5849cbeb99412980bb74ef605ceb7..cc3b11ce4e481823d453479dbbaf2c41d924575f 100644 (file)
@@ -194,8 +194,9 @@ struct usbnc_regs {
        u32 reserve1[10];
        u32 phy_cfg1;
        u32 phy_cfg2;
+       u32 reserve2;
        u32 phy_status;
-       u32 reserve2[4];
+       u32 reserve3[4];
        u32 adp_cfg1;
        u32 adp_cfg2;
        u32 adp_status;