u-boot-brain/arch
Stephen Warren 002ddbffb6 ARM: tegra: fix USB controller aliases
Some boards have a different set of USB controllers enabled in DT than
the set referenced by /alias entries. This patch fixes that. For
example, this avoids the following message while booting on Ventana,
which is caused by the fact that the USB0 controller had no alias, and
defaulted to wanting a sequence number of 0, which was later explicitly
requested by the alias for USB controller 2.

USB2:   Device 'usb@c5008000': seq 0 is in use by 'usb@c5000000'

This didn't affect USB operation in any way though.

Related, there's no need for the USB controller aliases to have an order
that's different from the HW order, so re-order any aliases to match the
HW ordering. This has the benefit that since USB controller 0 is the only
one that supports device-mode in HW, and U-Boot only supports enabling
device move on controller 0, there's now good synergy in the ordering! For
Tegra20, that's not relevant at present since USB device mode doesn't work
correctly on that SoC, but it will save some head-scratching later.

This patch doesn't fix the colibri_t20 board, even though it has the same
issue, since Marcel already sent a patch for that.

Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Tested-on: Harmony and Ventana
2016-09-27 09:11:03 -07:00
..
arc Remove arch/${ARCH}/include/asm/errno.h 2016-09-23 17:56:18 -04:00
arm ARM: tegra: fix USB controller aliases 2016-09-27 09:11:03 -07:00
avr32 Remove arch/${ARCH}/include/asm/errno.h 2016-09-23 17:56:18 -04:00
blackfin Remove arch/${ARCH}/include/asm/errno.h 2016-09-23 17:56:18 -04:00
m68k Remove arch/${ARCH}/include/asm/errno.h 2016-09-23 17:56:18 -04:00
microblaze Remove arch/${ARCH}/include/asm/errno.h 2016-09-23 17:56:18 -04:00
mips Remove arch/${ARCH}/include/asm/errno.h 2016-09-23 17:56:18 -04:00
nds32 Remove arch/${ARCH}/include/asm/errno.h 2016-09-23 17:56:18 -04:00
nios2 Remove arch/${ARCH}/include/asm/errno.h 2016-09-23 17:56:18 -04:00
openrisc Remove arch/${ARCH}/include/asm/errno.h 2016-09-23 17:56:18 -04:00
powerpc Merge git://git.denx.de/u-boot-fsl-qoriq 2016-09-26 17:10:56 -04:00
sandbox Remove arch/${ARCH}/include/asm/errno.h 2016-09-23 17:56:18 -04:00
sh Remove arch/${ARCH}/include/asm/errno.h 2016-09-23 17:56:18 -04:00
sparc Remove arch/${ARCH}/include/asm/errno.h 2016-09-23 17:56:18 -04:00
x86 Remove arch/${ARCH}/include/asm/errno.h 2016-09-23 17:56:18 -04:00
xtensa Remove arch/${ARCH}/include/asm/errno.h 2016-09-23 17:56:18 -04:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig xtensa: add support for the xtensa processor architecture [2/2] 2016-08-15 18:46:38 -04:00