summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/40x
diff options
context:
space:
mode:
authorSteven A. Falco <sfalco@harris.com>2008-10-13 06:04:09 +0000
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>2008-10-17 13:33:44 -0400
commit878e7556bfe7b10178ea58862bf9708f35afe001 (patch)
tree6e1b84f48d7d450ce0f8e644e1f95cebadf407ca /arch/powerpc/platforms/40x
parent9fa126da4a9addec77db4663933ed592188a0741 (diff)
powerpc/4xx: Add PowerPC 4xx GPIO driver
This patch adds support for the GPIO functions of PPC40x and PPC44x SOCs. Signed-off-by: Steve Falco <sfalco@harris.com> Acked-by: Stefan Roese <sr@denx.de> Acked-by: Sean MacLennan <smaclennan@pikatech.com> Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch/powerpc/platforms/40x')
-rw-r--r--arch/powerpc/platforms/40x/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/40x/Kconfig b/arch/powerpc/platforms/40x/Kconfig
index 9bd152553050..65730275e012 100644
--- a/arch/powerpc/platforms/40x/Kconfig
+++ b/arch/powerpc/platforms/40x/Kconfig
@@ -169,6 +169,14 @@ config STB03xxx
select IBM405_ERR77
select IBM405_ERR51
+config PPC4xx_GPIO
+ bool "PPC4xx GPIO support"
+ depends on 40x
+ select ARCH_REQUIRE_GPIOLIB
+ select GENERIC_GPIO
+ help
+ Enable gpiolib support for ppc40x based boards
+
# 40x errata/workaround config symbols, selected by the CPU models above
# All 405-based cores up until the 405GPR and 405EP have this errata.