This Patch adds CONFIG_ARCH_HAS_LOWLEVEL_INIT as discussed in thread
http://www.nabble.com/-Patch--U-Boot-V2%3A-Introduce-CONFIG_ARCH_HAS_INIT_LOWLEVEL-to17134638.html#a17188894

Signed-off-by: Nishanth Menon<[EMAIL PROTECTED]>

---
 arch/arm/cpu/start-arm.S     |    2 +-
 arch/m68k/cpu/start-mcfv4e.S |    2 +-
 common/Kconfig               |    3 +++
 3 files changed, 5 insertions(+), 2 deletions(-)

Index: u-boot-v2.git/arch/arm/cpu/start-arm.S
===================================================================
--- u-boot-v2.git.orig/arch/arm/cpu/start-arm.S 2008-05-20 17:19:44.000000000 
-0500
+++ u-boot-v2.git/arch/arm/cpu/start-arm.S      2008-05-20 17:26:30.000000000 
-0500
@@ -131,7 +131,7 @@
        orr     r0,r0,#0xd3
        msr     cpsr,r0
 
-#ifdef ARCH_HAS_INIT_LOWLEVEL
+#ifdef CONFIG_ARCH_HAS_LOWLEVEL_INIT
        bl arch_init_lowlevel
 #endif
        /*
Index: u-boot-v2.git/arch/m68k/cpu/start-mcfv4e.S
===================================================================
--- u-boot-v2.git.orig/arch/m68k/cpu/start-mcfv4e.S     2008-05-20 
17:19:44.000000000 -0500
+++ u-boot-v2.git/arch/m68k/cpu/start-mcfv4e.S  2008-05-20 17:26:30.000000000 
-0500
@@ -406,7 +406,7 @@
         * standard reset vector file, but also do some special things
         * required only on their specific CPU.
         */
-#ifdef ARCH_HAS_INIT_LOWLEVEL
+#ifdef CONFIG_ARCH_HAS_LOWLEVEL_INIT
        bsr.l   arch_init_lowlevel
        nop
 #endif
Index: u-boot-v2.git/common/Kconfig
===================================================================
--- u-boot-v2.git.orig/common/Kconfig   2008-05-20 17:19:44.000000000 -0500
+++ u-boot-v2.git/common/Kconfig        2008-05-20 17:26:30.000000000 -0500
@@ -77,6 +77,9 @@
          on many platforms. Disabling this option allows configurations to use
          U-boot as a second stage boot loader.
 
+config ARCH_HAS_LOWLEVEL_INIT
+       bool
+
 config PROMPT
        string
        prompt "U-Boot command prompt"

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to