From: Heiko Schocher Date: Tue, 24 May 2016 07:54:37 +0200 Subject: [U-Boot] [PATCH v2 10/12] armv7: omap-common: make SPL board_mmc_init() weak In-Reply-To: <1464069279-23457-1-git-send-email-hs@denx.de> References: <1464069279-23457-1-git-send-email-hs@denx.de> Message-ID: <1464069279-23457-11-git-send-email-hs@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de make this function weak, so board code can setup in SPL MMC init with board special values. Signed-off-by: Heiko Schocher --- Changes in v2: None arch/arm/cpu/armv7/omap-common/boot-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.5.5