twister: Let SPL load U-Boot from MMC
authorLadislav Michl <ladis@linux-mips.org>
Mon, 14 May 2018 07:17:45 +0000 (09:17 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 24 May 2018 02:06:40 +0000 (22:06 -0400)
commit9b0888ced4b6140afe518f47d19e171630df63b1
tree10bc6131bd3a5670e3823707a7dae84ae01b2fe0
parent0298d2037542b4f56124d29995dc7435c6af8bd1
twister: Let SPL load U-Boot from MMC

MMC is not initialized in SPL, so it cannot load u-boot.img
preventing boot from MMC.

Also driver specific functions are guarded with generic
configuration options which leads to build failures when device
driver is not enabled in config. Fix that by using driver
specific defines.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Acked-by: Stefano Babic <sbabic@denx.de>
board/technexion/twister/twister.c