From patchwork Wed May 18 14:18:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Schocher X-Patchwork-Id: 623592 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3r8xFw1mt9z9sDb for ; Thu, 19 May 2016 00:21:24 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 47122A75D7; Wed, 18 May 2016 16:20:48 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gw_8PTOXvS4Z; Wed, 18 May 2016 16:20:48 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 50004A765F; Wed, 18 May 2016 16:20:17 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AA2E4A74A8 for ; Wed, 18 May 2016 16:19:17 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v7-LBOfE062E for ; Wed, 18 May 2016 16:19:17 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from pollux.denx.de (host-82-135-33-74.customer.m-online.net [82.135.33.74]) by theia.denx.de (Postfix) with ESMTP id 887BBA7498 for ; Wed, 18 May 2016 16:19:17 +0200 (CEST) Received: by pollux.denx.de (Postfix, from userid 515) id 4D345330B; Wed, 18 May 2016 16:19:17 +0200 (CEST) From: Heiko Schocher To: u-boot@lists.denx.de Date: Wed, 18 May 2016 16:18:36 +0200 Message-Id: <1463581128-22188-11-git-send-email-hs@denx.de> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1463581128-22188-1-git-send-email-hs@denx.de> References: <1463581128-22188-1-git-send-email-hs@denx.de> Subject: [U-Boot] [PATCH v1 10/12] armv7: omap-common: make SPL board_mmc_init() weak X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" make this function weak, so board code can setup in SPL MMC init with board special values. Signed-off-by: Heiko Schocher --- 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: