ti: boot: Register the MMC controllers in SPL in the same way as in u-boot
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Wed, 1 Feb 2017 10:39:14 +0000 (11:39 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 20 Mar 2017 02:17:14 +0000 (22:17 -0400)
commitd5abcf94c7123167725fc22ace342f0d455093c1
treeca1d964a4d7d798c498a3b6b409c3d68dad4a7da
parent02ccab1908c405fe1449457d4a0d343784a30acb
ti: boot: Register the MMC controllers in SPL in the same way as in u-boot

To keep a consistent MMC device mapping in SPL and in u-boot, let's
register the MMC controllers the same way in u-boot and in the SPL.
In terms of boot time, it doesn't hurt to register more controllers than
needed because the MMC device is initialized only prior being accessed for
the first time.
Having the same device mapping in SPL and u-boot allows us to use the
environment in SPL whatever the MMC boot device.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
27 files changed:
arch/arm/mach-omap2/am33xx/board.c
arch/arm/mach-omap2/boot-common.c
board/BuR/common/common.c
board/amazon/kc1/kc1.c
board/compulab/cm_t35/cm_t35.c
board/compulab/cm_t3517/cm_t3517.c
board/compulab/cm_t54/cm_t54.c
board/corscience/tricorder/tricorder.c
board/gumstix/duovero/duovero.c
board/htkw/mcx/mcx.c
board/isee/igep00x0/igep00x0.c
board/lg/sniper/sniper.c
board/logicpd/am3517evm/am3517evm.c
board/logicpd/omap3som/omap3logic.c
board/quipos/cairo/cairo.c
board/technexion/tao3530/tao3530.c
board/ti/am3517crane/am3517crane.c
board/ti/am57xx/board.c
board/ti/beagle/beagle.c
board/ti/dra7xx/evm.c
board/ti/evm/evm.c
board/ti/ks2_evm/board_k2g.c
board/ti/omap5_uevm/evm.c
board/ti/panda/panda.c
board/ti/sdp4430/sdp.c
board/ti/ti814x/evm.c
board/timll/devkit8000/devkit8000.c