summaryrefslogtreecommitdiffstats
path: root/drivers/usb
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
parent217d16973db6239c88ca77c7ffe3e4abdaf58d57 (diff)
downloadblackbird-obmc-uboot-429ff4473b8b1a98c528608a127de833ece0496a.tar.gz
blackbird-obmc-uboot-429ff4473b8b1a98c528608a127de833ece0496a.zip
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')
-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 bb48d0dea0..cc3b11ce4e 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;
OpenPOWER on IntegriCloud