barebox/arch/arm/mach-s3c24xx/Kconfig
Juergen Beisert f7d49a38f1 mini2440: Add booting from NAND support
With this patch barebox can now be booted from RAM, NOR and NAND on the
mini2440 platform. 'CONFIG_S3C24XX_NAND_BOOT' must still be 'y' to be able to
boot from NAND.

Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-03-03 16:15:55 +01:00

107 lines
2 KiB
Text

if ARCH_S3C24xx
config ARCH_TEXT_BASE
hex
default 0x31fc0000
config BOARDINFO
default "Mini 2440" if MACH_MINI2440
default "Digi A9M2440" if MACH_A9M2440
default "Digi A9M2410" if MACH_A9M2410
config CPU_S3C2410
bool
config CPU_S3C2440
bool
choice
prompt "S3C24xx Board Type"
config MACH_A9M2410
bool "Digi A9M2410"
select CPU_S3C2410
select MACH_HAS_LOWLEVEL_INIT
select S3C24XX_PLL_INIT
select S3C24XX_SDRAM_INIT
help
Say Y here if you are using Digi's Connect Core 9M equipped
with a Samsung S3C2410 Processor
config MACH_A9M2440
bool "Digi A9M2440"
select CPU_S3C2440
select MACH_HAS_LOWLEVEL_INIT
select S3C24XX_PLL_INIT
help
Say Y here if you are using Digi's Connect Core 9M equipped
with a Samsung S3C2440 Processor
config MACH_MINI2440
bool "Mini 2440"
select CPU_S3C2440
select MACH_HAS_LOWLEVEL_INIT
select MACH_DO_LOWLEVEL_INIT
select S3C24XX_PLL_INIT
select S3C24XX_SDRAM_INIT
select HAS_DM9000
help
Say Y here if you are using Mini 2440 dev board equipped
with a Samsung S3C2440 Processor
endchoice
menu "Board specific settings "
choice
prompt "A9M2440 baseboard"
depends on MACH_A9M2440
config MACH_A9M2410DEV
bool
prompt "A9M2410dev"
select HAS_CS8900
help
Digi's evaluation board.
endchoice
endmenu
menu "S3C24X0 Features "
config S3C24XX_LOW_LEVEL_INIT
bool
config S3C24XX_PLL_INIT
bool
prompt "Reconfigure PLL"
select S3C24XX_LOW_LEVEL_INIT
help
This adds generic code to reconfigure the internal PLL very early
after reset.
config S3C24XX_SDRAM_INIT
bool
prompt "Initialize SDRAM"
select S3C24XX_LOW_LEVEL_INIT
help
This adds generic code to configure the SDRAM controller after reset.
The initialisation will be skipped if the code is already running
from SDRAM.
config S3C24XX_NAND_BOOT
bool
prompt "Booting from NAND"
select MTD
select NAND
select NAND_S3C24X0
help
Add generic support to boot from NAND flash. Image loading will be
skipped if the code is running from NOR or already from SDRAM.
endmenu
endif