public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 10/12] armv7: omap-common: make SPL board_mmc_init() weak
Date: Tue, 24 May 2016 07:54:37 +0200	[thread overview]
Message-ID: <1464069279-23457-11-git-send-email-hs@denx.de> (raw)
In-Reply-To: <1464069279-23457-1-git-send-email-hs@denx.de>

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

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

  parent reply	other threads:[~2016-05-24  5:54 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-24  5:54 [U-Boot] [PATCH v2 00/12] am335x: add support for the am335x based bosch shc board Heiko Schocher
2016-05-24  5:54 ` [U-Boot] [PATCH v2 01/12] common: bootdelay: move CONFIG_BOOTDELAY into a Kconfig option Heiko Schocher
2016-06-03  1:02   ` [U-Boot] [U-Boot, v2, " Tom Rini
2016-06-03  5:01     ` Heiko Schocher
2016-06-03 13:47       ` Tom Rini
2016-06-03 14:23         ` Heiko Schocher
2016-05-24  5:54 ` [U-Boot] [PATCH v2 02/12] tests: py: disable main_signon check for printenv cmd Heiko Schocher
2016-05-24  5:54 ` [U-Boot] [PATCH v2 03/12] power, tps65217: add some defines Heiko Schocher
2016-05-24  5:54 ` [U-Boot] [PATCH v2 04/12] arm, am335x: add some missing GPIO register definitions Heiko Schocher
2016-05-24  5:54 ` [U-Boot] [PATCH v2 05/12] am335x: add some missing CM_CLKMODE_DPLL_SSC macros Heiko Schocher
2016-05-24  5:54 ` [U-Boot] [PATCH v2 06/12] arm, am335x: Enable Spread Spectrum for the MPU Heiko Schocher
2016-05-24  5:54 ` [U-Boot] [PATCH v2 07/12] bootstage: call show_boot_progress also in SPL Heiko Schocher
2016-05-24  5:54 ` [U-Boot] [PATCH v2 08/12] mmc: revert mmc: Handle switch error status bit in MMC card status Heiko Schocher
2016-05-24  5:54 ` [U-Boot] [PATCH v2 09/12] mmc: omap_hsmmc: enable 8bit interface for eMMC for AM33xx Heiko Schocher
2016-05-24  5:54 ` Heiko Schocher [this message]
2016-05-24  5:54 ` [U-Boot] [PATCH v2 11/12] doc, spl, am335x: update am335x-network Heiko Schocher
2016-05-24  5:54 ` [U-Boot] [PATCH v2 12/12] am335x, shc: add support for the am335x based bosch shc board Heiko Schocher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1464069279-23457-11-git-send-email-hs@denx.de \
    --to=hs@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox