summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorCliff Cai <cliff.cai@analog.com>2010-01-19 00:10:42 -0500
committerRemy Bohmer <linux@bohmer.net>2010-02-03 22:06:59 +0100
commitec2aadb40855cecb088b68c062e3534d6ce39128 (patch)
treee92aa2e7d6d54e141e9296a6a3a95fa2617a788a /drivers/usb
parent111d6c6ad15d1425d3e5a678b2ff4b593e910fca (diff)
downloadu-boot-imx-ec2aadb40855cecb088b68c062e3534d6ce39128.zip
u-boot-imx-ec2aadb40855cecb088b68c062e3534d6ce39128.tar.gz
u-boot-imx-ec2aadb40855cecb088b68c062e3534d6ce39128.tar.bz2
usb: musb: fix Blackfin DMA register padding
The conversion from offsets to C structs lost a little padding in the DMA register map. Accessing endpoints other than ep0 with DMA would fail as the addresses wouldn't be adjusted correctly. Signed-off-by: Cliff Cai <cliff.cai@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/musb/blackfin_usb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/blackfin_usb.h b/drivers/usb/musb/blackfin_usb.h
index ab26ca2..de994bf 100644
--- a/drivers/usb/musb/blackfin_usb.h
+++ b/drivers/usb/musb/blackfin_usb.h
@@ -82,7 +82,7 @@ struct bfin_musb_dma_regs {
ureg(addr_high);
ureg(count_low);
ureg(count_high);
- ureg(pad);
+ u32 reserved0[2];
};
#undef ureg