diff options
author | Eric Benard <eric@eukrea.com> | 2009-10-22 16:46:13 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-12-03 10:46:13 +0100 |
commit | c24fa6b117c3623d5909f6bf61806ee2313c216f (patch) | |
tree | 666d1cd197d1c40e864ab2fb33693fd0a05fcb6f /arch/arm | |
parent | bf33c6976424dbaed6a92407e397e77080a8d0c4 (diff) | |
download | barebox-c24fa6b117c3623d5909f6bf61806ee2313c216f.tar.gz barebox-c24fa6b117c3623d5909f6bf61806ee2313c216f.tar.xz |
Eukrea CPUIMX27 : add NOR flash size configuration
64MB strataflash consist in 2x256Mb flashs. So we must declare
2 cfi_flash in order to have both 256Mb flash geometry properly
detected. For flash <= 32 MB we prefer not to register the second
cfi_flash which would be an alias of the first one.
Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-imx/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index a9e649e623..344c5237bf 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig @@ -257,6 +257,13 @@ config EUKREA_CPUIMX27_SDRAM_128MB config EUKREA_CPUIMX27_SDRAM_256MB bool "256 MB" endchoice +choice + prompt "NOR Flash Size" +config EUKREA_CPUIMX27_NOR_32MB + bool "<= 32 MB" +config EUKREA_CPUIMX27_NOR_64MB + bool "> 32 MB" +endchoice endif endmenu |