Skip to contentSkip to conversation

Coldfire generic GPIO (m68knommu)

RFC In review Steven King 1 participant 1 message Mar 11, 2009

lore
Share & tools
lore
#0 lore raw

RFC 2/14 Coldfire generic GPIO (m68knommu)

arch/m68knommu/Kconfig +4 -0
index 4beb59d..0eb0302 100644
@@ -46,6 +46,10 @@ config GENERIC_FIND_NEXT_BIT
 	bool
 	default y
 
+config GENERIC_GPIO
+	bool
+	default n
+
 config GENERIC_HWEIGHT
 	bool
 	default y
@@ -181,6 +185,8 @@ config M527x
 config COLDFIRE
 	bool
 	depends on (M5206 || M5206e || M520x || M523x || M5249 || M527x || M5272 || 

M528x || M5307 || M532x || M5407)
+ select GENERIC_GPIO
+ select ARCH_REQUIRE_GPIOLIB
default y

config CLOCK_SET

(quoted diff) +0 -0

b/arch/m68knommu/platform/coldfire/Makefile
index 4f416a9..25de150 100644

arch/m68knommu/platform/coldfire/Makefile +1 -0
@@ -27,4 +27,5 @@ obj-$(CONFIG_M5307)	+= timers.o
 obj-$(CONFIG_M532x)	+= timers.o
 obj-$(CONFIG_M5407)	+= timers.o
 
+obj-y			+= pinmux.o gpio.o
 extra-y := head.o