summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/Kconfig
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-01-22 16:45:34 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-01-24 08:56:06 +0100
commit488fbba21f89e517089a99f5cea20aa3ad4bce62 (patch)
treefd28f82a5e64f1a055b08c1cde7b103ca0a2185a /arch/arm/mach-at91/Kconfig
parent442231fe65876a2ca4cb3aba73fb94799983a006 (diff)
downloadbarebox-488fbba21f89e517089a99f5cea20aa3ad4bce62.tar.gz
barebox-488fbba21f89e517089a99f5cea20aa3ad4bce62.tar.xz
at91sam9m10g45ek: add board revision support
we use the board revision to specify to the linux kernel the type of lcd we use. So we can have only one machine for those 3 boards: - sam9m10-ekes (LG) - sam9g45-ekes (LG) - sam9m10g45-ek (Truly) today we support 2 lcds model: - LG philips LB043WQ1 - Truly TFT1N4633-E by default we select the Truly as the sam9m10g45-ek is the most common board 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>
Diffstat (limited to 'arch/arm/mach-at91/Kconfig')
-rw-r--r--arch/arm/mach-at91/Kconfig19
1 files changed, 18 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index e5bd45e191..52c5d4b285 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -174,7 +174,8 @@ config MACH_AT91SAM9M10G45EK
bool "Atmel AT91SAM9M10G45-EK Evaluation Kit"
select HAVE_NAND_ATMEL_BUSWIDTH_16
help
- Select this if you are using Atmel's AT91SAM9M10G45-EK Evaluation Kit.
+ Select this if you are using Atmel's AT91SAM9M10G45-EK Evaluation Kit
+ or AT91SAM9G45-EKES or AT91SAM9M10-EKES (for those 2 select the LG LCD)
<http://atmel.com/dyn/products/tools_card_v2.asp?tool_id=4735>
config MACH_PM9G45
@@ -205,4 +206,20 @@ config AT91_HAVE_2MMC
with 2 SD/MMC Slots. This is the case for AT91SAM9G20-EK rev. C and
onwards.
+choice
+ prompt "LCD type"
+ depends on MACH_AT91SAM9M10G45EK
+
+config LCD_TRULY_TFT1N4633E
+ bool "truly TFT1N4633-E"
+ help
+ Found on AT91SAM9M10G45-EK
+
+config LCD_LG_LB043WQ1
+ bool "LG philips LB043WQ1"
+ help
+ Found on AT91SAM9G45-EKES and AT91SAM9M10-EKES
+
+endchoice
+
endif