b29b8f43d5
The aready existing NAND controller driver in Barebox is for the S3C24XX family only. Change the name of the file to reflect this fact (and free the way to add more recent Samsung NAND controllers) Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
118 lines
2.2 KiB
Text
118 lines
2.2 KiB
Text
config ARCH_SAMSUNG
|
|
bool
|
|
|
|
if ARCH_SAMSUNG
|
|
|
|
config ARCH_TEXT_BASE
|
|
hex
|
|
default 0x31fc0000 if MACH_MINI2440
|
|
default 0x31fc0000 if MACH_A9M2440
|
|
default 0x31fc0000 if MACH_A9M2410
|
|
|
|
config BOARDINFO
|
|
default "Mini 2440" if MACH_MINI2440
|
|
default "Digi A9M2440" if MACH_A9M2440
|
|
default "Digi A9M2410" if MACH_A9M2410
|
|
|
|
if ARCH_S3C24xx
|
|
|
|
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
|
|
|
|
source arch/arm/boards/mini2440/Kconfig
|
|
|
|
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_S3C24XX
|
|
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
|
|
|
|
endif
|