[U-Boot-Users] [Patch 01/17] U-Boot-V2: ARM: Add ARCH lowlevel Init[Try 3]
Menon, Nishanth
x0nishan at ti.com
Wed May 21 18:24:29 CEST 2008
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<x0nishan at ti.com>
---
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"
More information about the U-Boot
mailing list