summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMenon, Nishanth <x0nishan@ti.com>2008-05-12 11:35:15 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2008-05-12 11:35:15 +0200
commitcb73b0c227daf37bb9422b9dce29c3576d4a5af3 (patch)
tree56f69f6e79686621d5325769cc7db7df04790acf /arch
parentcbe7b897b44452ba63021079aeff9a1308c852c5 (diff)
downloadbarebox-cb73b0c227daf37bb9422b9dce29c3576d4a5af3.tar.gz
barebox-cb73b0c227daf37bb9422b9dce29c3576d4a5af3.tar.xz
Change CONFIG_SKIP_LOWLEVEL_INIT to CONFIG_MACH_DO_LOWLEVEL_INIT
as we rather use positive logic. Make it dependent on boards that have it rather than on ARM Signed-off-by: Nishanth Menon <x0nishan@ti.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/Kconfig4
-rw-r--r--arch/arm/cpu/start-arm.S2
-rw-r--r--arch/m68k/Kconfig4
-rw-r--r--arch/m68k/cpu/start-mcfv4e.S4
4 files changed, 11 insertions, 3 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 6128f6990d..e6df3318ff 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -89,6 +89,7 @@ config MACH_SCB9328
select HAS_DM9000
select HAS_CFI
select ARCH_IMX1
+ select MACH_HAS_LOWLEVEL_INIT
help
Say Y here if you are using the Synertronixx scb9328 board
@@ -96,6 +97,7 @@ config MACH_PCM038
bool "phyCORE-i.MX27"
select HAS_CFI
select ARCH_IMX27
+ select MACH_HAS_LOWLEVEL_INIT
help
Say Y here if you are using Phytec's phyCORE-i.MX27 (pcm038) equipped
with a Freescale i.MX27 Processor
@@ -104,6 +106,7 @@ config MACH_IMX27ADS
bool "Freescale i.MX27ADS"
select HAS_CFI
select ARCH_IMX27
+ select MACH_HAS_LOWLEVEL_INIT
help
Say Y here if you are using the Freescale i.MX27ads board equipped
with a Freescale i.MX27 Processor
@@ -121,6 +124,7 @@ config MACH_NXDB500
select HAS_NETX_ETHER
select HAS_CFI
select ARCH_NETX
+ select MACH_HAS_LOWLEVEL_INIT
help
Say Y here if you are using the Hilscher Netx nxdb500 board
diff --git a/arch/arm/cpu/start-arm.S b/arch/arm/cpu/start-arm.S
index 8e4d2c2105..a4a18c64dc 100644
--- a/arch/arm/cpu/start-arm.S
+++ b/arch/arm/cpu/start-arm.S
@@ -156,7 +156,7 @@ reset:
* because memory timing is board-dependend, you will
* find a lowlevel_init.S in your board directory.
*/
-#ifndef CONFIG_SKIP_LOWLEVEL_INIT
+#ifdef CONFIG_MACH_DO_LOWLEVEL_INIT
bl board_init_lowlevel
#endif
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig
index 07cf431dbe..313a8f14f9 100644
--- a/arch/m68k/Kconfig
+++ b/arch/m68k/Kconfig
@@ -84,6 +84,7 @@ config MACH_KPUKDR1_NUM
bool "konzeptpark UKD R1 + phyCore MCF5475 NUM"
select HAS_CFI
select ARCH_MCF54xx
+ select MACH_HAS_LOWLEVEL_INIT
help
Say Y here if you are using the konzeptpark UKD R1 with a
Phytec Phycore PCM-024-NUM equipped with a Freescale MC5475 Processor
@@ -108,6 +109,7 @@ config MACH_PCM982_5485
bool "Phytec pcm982 + phyCore MCF5485"
select HAS_CFI
select ARCH_MCF54xx
+ select MACH_HAS_LOWLEVEL_INIT
help
Say Y here if you are using the Phytec Phycore PCM-024 equipped
with a Freescale MC5485 Processor
@@ -116,6 +118,7 @@ config MACH_PCM982_5475
bool "Phytec pcm982 + phyCore MCF5475"
select HAS_CFI
select ARCH_MCF54xx
+ select MACH_HAS_LOWLEVEL_INIT
help
Say Y here if you are using the Phytec Phycore PCM-024 equipped
with a Freescale MC5475 Processor
@@ -124,6 +127,7 @@ config MACH_PCM982_5475_NUM
bool "Phytec pcm982 + phyCore MCF5475 NUM"
select HAS_CFI
select ARCH_MCF54xx
+ select MACH_HAS_LOWLEVEL_INIT
help
Say Y here if you are using the Phytec Phycore PCM-024 equipped
with a Freescale MC5475 Processor (NUM Variant)
diff --git a/arch/m68k/cpu/start-mcfv4e.S b/arch/m68k/cpu/start-mcfv4e.S
index c77fe676bb..489082f9a1 100644
--- a/arch/m68k/cpu/start-mcfv4e.S
+++ b/arch/m68k/cpu/start-mcfv4e.S
@@ -448,7 +448,7 @@ saveland:
*
* Do not jump/call other u-boot code here!
*/
-#ifndef CONFIG_SKIP_LOWLEVEL_INIT
+#ifdef CONFIG_MACH_DO_LOWLEVEL_INIT
bsr.l board_init_lowlevel
nop
#endif
@@ -512,7 +512,7 @@ skip_copy_vectors:
nop
#endif
-#ifndef CONFIG_SKIP_LOWLEVEL_INIT
+#ifdef CONFIG_MACH_DO_LOWLEVEL_INIT
/*
* Call other half of initcode in relocated code
*