diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2010-09-18 04:18:35 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-09-20 08:58:53 +0200 |
commit | 345dccf8d90dabe7d32d4d0d4bc588b7d595009e (patch) | |
tree | 498fb4a5737bcf4fe1f799d50f9e5a376a5c376f | |
parent | a47575911dfc360a95ae41585694c27aeb082f0a (diff) | |
download | barebox-345dccf8d90dabe7d32d4d0d4bc588b7d595009e.tar.gz barebox-345dccf8d90dabe7d32d4d0d4bc588b7d595009e.tar.xz |
at91: add HAVE_NAND_ATMEL_BUSWIDTH_16 to Enable 16-bit data bus interface
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/arm/mach-at91/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig index 99d0f4dacb..1b006a12b9 100644 --- a/arch/arm/mach-at91/Kconfig +++ b/arch/arm/mach-at91/Kconfig @@ -10,6 +10,9 @@ config BOARDINFO 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 @@ -38,6 +41,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 @@ -54,6 +58,7 @@ choice config MACH_AT91SAM9263EK bool "Atmel AT91SAM9263-EK" + select HAVE_NAND_ATMEL_BUSWIDTH_16 help Say y here if you are using Atmel's AT91SAM9263-EK Evaluation board @@ -71,4 +76,15 @@ 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). + endif |