[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1331415531-10961-1-git-send-email-alan@signal11.us>
Date: Sat, 10 Mar 2012 16:38:51 -0500
From: Alan Ott <alan@...nal11.us>
To: Andrew Victor <linux@...im.org.za>,
Nicolas Ferre <nicolas.ferre@...el.com>,
Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>,
Russell King <linux@....linux.org.uk>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Cc: Alan Ott <alan@...nal11.us>, Arnd Bergmann <arnd@...db.de>,
Ben Dooks <ben-linux@...ff.org>
Subject: [PATCH v2 1/2] ARM: AT91: Add parameter for AT91_HAS_PATA
Not all at91 chips have PATA, this parameter will identify which
chips do. The determining of which chips support PATA was done
by Arnd Bergmann.
Signed-off-by: Arnd Bergmann <arnd@...db.de>
Signed-off-by: Alan Ott <alan@...nal11.us>
CC: Ben Dooks <ben-linux@...ff.org>
---
arch/arm/mach-at91/Kconfig | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 71feb00..9eeeabe 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -24,6 +24,9 @@ config AT91_SAM9_ALT_RESET
config AT91_SAM9G45_RESET
bool
+config AT91_HAS_PATA
+ bool
+
menu "Atmel AT91 System-on-Chip"
choice
@@ -46,6 +49,7 @@ config ARCH_AT91SAM9260
select HAVE_AT91_USART5
select HAVE_NET_MACB
select AT91_SAM9_ALT_RESET
+ select AT91_HAS_PATA
config ARCH_AT91SAM9261
bool "AT91SAM9261"
@@ -54,6 +58,7 @@ config ARCH_AT91SAM9261
select HAVE_FB_ATMEL
select HAVE_AT91_DBGU0
select AT91_SAM9_ALT_RESET
+ select AT91_HAS_PATA
config ARCH_AT91SAM9G10
bool "AT91SAM9G10"
@@ -62,6 +67,7 @@ config ARCH_AT91SAM9G10
select HAVE_AT91_DBGU0
select HAVE_FB_ATMEL
select AT91_SAM9_ALT_RESET
+ select AT91_HAS_PATA
config ARCH_AT91SAM9263
bool "AT91SAM9263"
@@ -71,6 +77,7 @@ config ARCH_AT91SAM9263
select HAVE_NET_MACB
select HAVE_AT91_DBGU1
select AT91_SAM9_ALT_RESET
+ select AT91_HAS_PATA
config ARCH_AT91SAM9RL
bool "AT91SAM9RL"
@@ -80,6 +87,7 @@ config ARCH_AT91SAM9RL
select HAVE_FB_ATMEL
select HAVE_AT91_DBGU0
select AT91_SAM9_ALT_RESET
+ select AT91_HAS_PATA
config ARCH_AT91SAM9G20
bool "AT91SAM9G20"
@@ -91,6 +99,7 @@ config ARCH_AT91SAM9G20
select HAVE_AT91_USART5
select HAVE_NET_MACB
select AT91_SAM9_ALT_RESET
+ select AT91_HAS_PATA
config ARCH_AT91SAM9G45
bool "AT91SAM9G45"
@@ -101,6 +110,7 @@ config ARCH_AT91SAM9G45
select HAVE_NET_MACB
select HAVE_AT91_DBGU1
select AT91_SAM9G45_RESET
+ select AT91_HAS_PATA
config ARCH_AT91CAP9
bool "AT91CAP9"
@@ -110,6 +120,7 @@ config ARCH_AT91CAP9
select HAVE_NET_MACB
select HAVE_AT91_DBGU1
select AT91_SAM9G45_RESET
+ select AT91_HAS_PATA
config ARCH_AT91X40
bool "AT91x40"
--
1.7.0.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists