public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] arm, davinci: make arch_cpu_init() in da850_lowlevel.c weak
@ 2011-11-09  9:23 Christian Riesch
  2011-11-09 10:12 ` Wolfgang Denk
  0 siblings, 1 reply; 11+ messages in thread
From: Christian Riesch @ 2011-11-09  9:23 UTC (permalink / raw)
  To: u-boot

This patch allows replacing arch_cpu_init() if a custom initialization
is required.

Signed-off-by: Christian Riesch <christian.riesch@omicron.at>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
Cc: Heiko Schocher <hs@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

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-11-10 12:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-09  9:23 [U-Boot] [PATCH] arm, davinci: make arch_cpu_init() in da850_lowlevel.c weak Christian Riesch
2011-11-09 10:12 ` Wolfgang Denk
2011-11-09 10:18   ` Christian Riesch
2011-11-09 10:44     ` Wolfgang Denk
2011-11-09 11:17       ` Christian Riesch
2011-11-09 12:18         ` Heiko Schocher
2011-11-10 12:24           ` Christian Riesch
2011-11-09 10:44   ` Heiko Schocher
2011-11-09 11:26     ` Christian Riesch
2011-11-09 12:27       ` Heiko Schocher
2011-11-10 10:42         ` Christian Riesch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox