diff options
author | Roman Yeryomin <roman@advem.lv> | 2012-11-21 21:49:32 +0200 |
---|---|---|
committer | Roman Yeryomin <roman@advem.lv> | 2012-12-03 00:13:26 +0200 |
commit | 031e3104c03172a40bff338ef2f15cb220150c86 (patch) | |
tree | 52f7f9a017d22e26cb0819c241b3e2a26105fc90 /target/linux/realtek/patches-2.6.30/305-add-gpio-driver-switching.patch | |
parent | de4cda674279365ee0a04cea646e49591b040938 (diff) |
Add Andrew's gpio patches. Closes #2.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target/linux/realtek/patches-2.6.30/305-add-gpio-driver-switching.patch')
-rw-r--r-- | target/linux/realtek/patches-2.6.30/305-add-gpio-driver-switching.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/realtek/patches-2.6.30/305-add-gpio-driver-switching.patch b/target/linux/realtek/patches-2.6.30/305-add-gpio-driver-switching.patch new file mode 100644 index 000000000..9dc6548b6 --- /dev/null +++ b/target/linux/realtek/patches-2.6.30/305-add-gpio-driver-switching.patch @@ -0,0 +1,25 @@ +--- linux-2.6.30.9.a/arch/rlx/Kconfig 2012-11-05 14:18:41.701066133 +0400 ++++ linux-2.6.30.9.b/arch/rlx/Kconfig 2012-11-05 14:16:50.864374834 +0400 +@@ -139,6 +139,22 @@ + config RTL_FLASH_MAPPING_ENABLE + bool "Enable Flash Mapping" + ++choice ++prompt "GPIO Driver to use" ++ ++config RTL_GPIO ++ bool "Use realtek's GPIO driver" ++ ++ ++config RTL_NGPIO ++ bool "Use Necromant's gpiolib driver (recommended)" ++ select GENERIC_GPIO ++ select ARCH_REQUIRE_GPIOLIB ++ select GPIO_RTL ++ default y ++ ++endchoice ++ + config POCKET_ROUTER_SUPPORT + bool "Pocket router support" + |