armv7: omap-common: make SPL board_mmc_init() weak
authorHeiko Schocher <hs@denx.de>
Tue, 7 Jun 2016 06:31:23 +0000 (08:31 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 9 Jun 2016 17:53:09 +0000 (13:53 -0400)
make this function weak, so board code can setup in SPL
MMC init with board special values.

Signed-off-by: Heiko Schocher <hs@denx.de>
arch/arm/cpu/armv7/omap-common/boot-common.c

index 0456263d6ecc60b52ec1b5ef5d72fd27fc9a1c11..8333b200015fb77e522852b4d08b00701560adbf 100644 (file)
@@ -200,7 +200,7 @@ void spl_board_init(void)
 #endif
 }
 
-int board_mmc_init(bd_t *bis)
+__weak int board_mmc_init(bd_t *bis)
 {
        switch (spl_boot_device()) {
        case BOOT_DEVICE_MMC1: