[U-Boot] [PATCH] arm, davinci: make arch_cpu_init() in da850_lowlevel.c weak
Christian Riesch
christian.riesch at omicron.at
Wed Nov 9 10:23:06 CET 2011
This patch allows replacing arch_cpu_init() if a custom initialization
is required.
Signed-off-by: Christian Riesch <christian.riesch at omicron.at>
Cc: Sandeep Paulraj <s-paulraj at ti.com>
Cc: Heiko Schocher <hs at denx.de>
---
arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c b/arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c
index 327ff97..fe142dc 100644
--- a/arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c
+++ b/arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c
@@ -263,6 +263,7 @@ void nand_boot(void)
#if defined(CONFIG_NAND_SPL)
void board_init_f(ulong bootflag)
#else
+__attribute__ ((weak))
int arch_cpu_init(void)
#endif
{
--
1.7.0.4
More information about the U-Boot
mailing list