diff options
author | Marc Reilly <marc@cpdesign.com.au> | 2010-10-01 13:40:57 +1000 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-01 10:01:14 +0200 |
commit | 5785072b3713bad826a5be8aa0f3e4817e51b121 (patch) | |
tree | 5a43476e2e6eb2519ae6fb228757bcb99dd45a18 /arch/arm/mach-imx/Kconfig | |
parent | b82ee742d0e1190a3e61098b7f32b30938c3c0a8 (diff) | |
download | barebox-5785072b3713bad826a5be8aa0f3e4817e51b121.tar.gz barebox-5785072b3713bad826a5be8aa0f3e4817e51b121.tar.xz |
imx: Internal boot sources, handle all header offsets
Makes the internal boot source configurable.
Also changes section names slightly so that .flash_header_0x1000 isn't
matched to .flash_header_0x100* etc.
Signed-off-by: Marc Reilly <marc@cpdesign.com.au>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/Kconfig')
-rw-r--r-- | arch/arm/mach-imx/Kconfig | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index db9030404e..8a4e1ee268 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig @@ -40,6 +40,28 @@ config ARCH_IMX_INTERNAL_BOOT bool "support internal boot mode" depends on ARCH_IMX25 || ARCH_IMX35 +choice + depends on ARCH_IMX_INTERNAL_BOOT + prompt "Internal boot source" + help + Determines the location of the header information for internal boot. + 0x100 for OneNAND + 0x400 for NAND, SD/MMC or Serial ROM + 0x1000 for NOR + +config ARCH_IMX_INTERNAL_BOOT_NAND + default y + bool "NAND, SD/MMC, Serial ROM" + select NAND_IMX_BOOT + +config ARCH_IMX_INTERNAL_BOOT_NOR + bool "NOR" + +config ARCH_IMX_INTERNAL_BOOT_ONENAND + bool "OneNAND" + +endchoice + comment "Freescale i.MX System-on-Chip" choice |