9
0
Fork 0

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>
This commit is contained in:
Menon, Nishanth 2008-05-12 11:35:15 +02:00 committed by Sascha Hauer
parent cbe7b897b4
commit cb73b0c227
5 changed files with 23 additions and 11 deletions

View File

@ -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

View File

@ -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

View File

@ -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)

View File

@ -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
*

View File

@ -65,6 +65,18 @@ config RELOCATABLE
allowing it to relocate to the end of the available RAM. This
way you have the whole memory in a single piece.
config MACH_HAS_LOWLEVEL_INIT
bool
config MACH_DO_LOWLEVEL_INIT
bool "run machine low-level init"
depends on MACH_HAS_LOWLEVEL_INIT
default y
help
This entry enables SDRAM and other board low level initialization
on many platforms. Disabling this option allows configurations to use
U-boot as a second stage boot loader.
config PROMPT
string
prompt "U-Boot command prompt"
@ -216,14 +228,6 @@ config DEBUG_INFO
help
Enable build of u-boot with -g.
config SKIP_LOWLEVEL_INIT
bool
depends on ARM
prompt "Skip lowlevel init"
help
This entry skips the SDRAM initialising on many ARM based boards.
It enables using U-boot as a second stage bootloader.
config ENABLE_FLASH_NOISE
bool
prompt "verbose flash handling"