summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2016-06-07 08:31:23 +0200
committerTom Rini <trini@konsulko.com>2016-06-09 13:53:09 -0400
commita4475af5b4188b69739dacdc82351ceec71a1bbe (patch)
tree4c844a6071e1ec1c98111464ef24b969aea16abb /arch
parent3d4f628d2f6043c3b3ce1fabf2c2286456c02e77 (diff)
downloadu-boot-imx-a4475af5b4188b69739dacdc82351ceec71a1bbe.zip
u-boot-imx-a4475af5b4188b69739dacdc82351ceec71a1bbe.tar.gz
u-boot-imx-a4475af5b4188b69739dacdc82351ceec71a1bbe.tar.bz2
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/armv7/omap-common/boot-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/omap-common/boot-common.c b/arch/arm/cpu/armv7/omap-common/boot-common.c
index 0456263..8333b20 100644
--- a/arch/arm/cpu/armv7/omap-common/boot-common.c
+++ b/arch/arm/cpu/armv7/omap-common/boot-common.c
@@ -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: