armv7: omap-common: make SPL board_mmc_init() weak

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>
This commit is contained in:
Heiko Schocher 2016-06-07 08:31:23 +02:00 committed by Tom Rini
parent 3d4f628d2f
commit a4475af5b4

View 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: