9
0
Fork 0
barebox/arch
Andreas Pretzsch 73c6c6da8a ARM i.MX31 pcm037: fix erroneous IOMUX GPR setup in pcm037_usb_init()
In commit ad09b59f8b "ARM i.MX31: give
register base addresses a proper MX31_ prefix", the IOMUX GPR setup
to enable USBH2 was replaced with an incorrect source register.
Instead of reading the GPR register, USBOTG HWHOST is used as rmw source,
which contains 0x10020001.
Beside the intended GPR[11] setup ("Enable USBH2 signals on AudioPort 3 and
AudioPort6"), this erroneously also sets
	GPR[28] enable USBOTG loopback
	GPR[17] override DSR_DCE1 with USBOTG_DATA4
	GPR[0]  select FIR DMA requests instead of UART2 DMA

Beside breaking UART2, it probably also broke some UART1 and USB OTG setups.
Fix this and replace the address with the appropriate defines.

Signed-off-by: Andreas Pretzsch <apr@cn-eng.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-05-07 08:36:21 +02:00
..
arm ARM i.MX31 pcm037: fix erroneous IOMUX GPR setup in pcm037_usb_init() 2013-05-07 08:36:21 +02:00
blackfin blackfin: initialize malloc pool before start_barebox() 2013-03-14 08:41:27 +01:00
mips Remove unused config.h 2013-04-09 08:42:52 +02:00
nios2 nios: initialize malloc pool before start_barebox() 2013-03-14 08:41:20 +01:00
openrisc openrisc: initialize malloc pool before start_barebox() 2013-03-14 08:41:23 +01:00
ppc Merge branch 'for-next/oftree' 2013-04-04 14:20:32 +02:00
sandbox Remove unused config.h 2013-04-09 08:42:52 +02:00
x86 Remove unused config.h 2013-04-09 08:42:52 +02:00
architecture.dox MIPS: add documentation 2011-08-05 18:20:17 +02:00