summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-at91/Kconfig')
-rw-r--r--arch/arm/mach-at91/Kconfig52
1 files changed, 51 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 99d0f4dacb..1491161d6f 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -7,9 +7,13 @@ config ARCH_TEXT_BASE
config BOARDINFO
default "Atmel 91SAM9260-EK" if MACH_AT91SAM9260EK
default "Atmel at91sam9263-ek" if MACH_AT91SAM9263EK
+ default "Atmel at91sam9g20-ek" if MACH_AT91SAM9G20EK
default "Bucyrus MMC-CPU" if MACH_MMCCPU
default "Ronetix PM9263" if MACH_PM9263
+config HAVE_NAND_ATMEL_BUSWIDTH_16
+ bool
+
comment "Atmel AT91 System-on-Chip"
choice
@@ -23,7 +27,11 @@ config ARCH_AT91SAM9260
config ARCH_AT91SAM9263
bool "AT91SAM9263"
select CPU_ARM926T
- select MACH_HAS_LOWLEVEL_INIT
+ select HAS_MACB
+
+config ARCH_AT91SAM9G20
+ bool "AT91SAM9G20"
+ select CPU_ARM926T
select HAS_MACB
endchoice
@@ -38,6 +46,7 @@ choice
config MACH_AT91SAM9260EK
bool "Atmel AT91SAM9260-EK"
+ select HAVE_NAND_ATMEL_BUSWIDTH_16
help
Say y here if you are using Atmel's AT91SAM9260-EK Evaluation board
@@ -47,6 +56,25 @@ endif
# ----------------------------------------------------------
+if ARCH_AT91SAM9G20
+
+choice
+
+ prompt "AT91SAM9G20 Board Type"
+
+config MACH_AT91SAM9G20EK
+ bool "Atmel AT91SAM9G20-EK Evaluation Kit"
+ select HAVE_NAND_ATMEL_BUSWIDTH_16
+ help
+ Select this if you are using Atmel's AT91SAM9G20-EK Evaluation Kit
+ that embeds only one SD/MMC slot.
+
+endchoice
+
+endif
+
+# ----------------------------------------------------------
+
if ARCH_AT91SAM9263
choice
@@ -54,6 +82,8 @@ choice
config MACH_AT91SAM9263EK
bool "Atmel AT91SAM9263-EK"
+ select MACH_HAS_LOWLEVEL_INIT
+ select HAVE_NAND_ATMEL_BUSWIDTH_16
help
Say y here if you are using Atmel's AT91SAM9263-EK Evaluation board
@@ -64,6 +94,7 @@ config MACH_MMCCPU
config MACH_PM9263
bool "Ronetix PM9263"
+ select MACH_HAS_LOWLEVEL_INIT
help
Say y here if you are using the Ronetix PM9263 Board
@@ -71,4 +102,23 @@ endchoice
endif
+# ----------------------------------------------------------
+
+comment "AT91 Board Options"
+
+config MTD_NAND_ATMEL_BUSWIDTH_16
+ bool "Enable 16-bit data bus interface to NAND flash"
+ depends on HAVE_NAND_ATMEL_BUSWIDTH_16
+ help
+ On AT91SAM926x boards both types of NAND flash can be present
+ (8 and 16 bit data bus width).
+
+config AT91_HAVE_2MMC
+ bool "Have 2 MMC"
+ depends on MACH_AT91SAM9G20EK
+ help
+ Select this if you are using an Atmel AT91SAM9G20-EK Evaluation Kit
+ with 2 SD/MMC Slots. This is the case for AT91SAM9G20-EK rev. C and
+ onwards.
+
endif