summaryrefslogtreecommitdiff
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorPeng Fan <van.freenix@gmail.com>2016-06-20 09:43:08 +0800
committerMarek Vasut <marex@denx.de>2016-06-25 00:57:09 +0200
commit429ff4473b8b1a98c528608a127de833ece0496a (patch)
tree4d3e4e00e1964adf7829e62e5bd4d3169e5feee1 /drivers/usb/host
parent217d16973db6239c88ca77c7ffe3e4abdaf58d57 (diff)
downloadu-boot-imx-429ff4473b8b1a98c528608a127de833ece0496a.zip
u-boot-imx-429ff4473b8b1a98c528608a127de833ece0496a.tar.gz
u-boot-imx-429ff4473b8b1a98c528608a127de833ece0496a.tar.bz2
ehci: mx7: fix usbnc_regs
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>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r--drivers/usb/host/ehci-mx6.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c
index bb48d0d..cc3b11c 100644
--- a/drivers/usb/host/ehci-mx6.c
+++ b/drivers/usb/host/ehci-mx6.c
@@ -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;