From b76b776b40c7238693dd6107ab6dcb0d2560a212 Mon Sep 17 00:00:00 2001 From: Roman Yeryomin Date: Sat, 18 May 2013 18:49:56 +0300 Subject: Remove Andrew's GPIO patches Signed-off-by: Roman Yeryomin --- .../realtek/patches-2.6.30/304-add-rtlgpio.patch | 28 ----------------- .../305-add-gpio-driver-switching.patch | 35 ---------------------- .../306-make-gpio-rtl-honor-switch.patch | 21 ------------- 3 files changed, 84 deletions(-) delete mode 100644 target/linux/realtek/patches-2.6.30/304-add-rtlgpio.patch delete mode 100644 target/linux/realtek/patches-2.6.30/305-add-gpio-driver-switching.patch delete mode 100644 target/linux/realtek/patches-2.6.30/306-make-gpio-rtl-honor-switch.patch diff --git a/target/linux/realtek/patches-2.6.30/304-add-rtlgpio.patch b/target/linux/realtek/patches-2.6.30/304-add-rtlgpio.patch deleted file mode 100644 index 45b62390b..000000000 --- a/target/linux/realtek/patches-2.6.30/304-add-rtlgpio.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- a/drivers/gpio/Makefile 2012-11-05 14:07:42.074262520 +0400 -+++ b/drivers/gpio/Makefile 2012-11-05 14:08:18.327603410 +0400 -@@ -10,5 +10,6 @@ - obj-$(CONFIG_GPIO_PCA953X) += pca953x.o - obj-$(CONFIG_GPIO_PCF857X) += pcf857x.o - obj-$(CONFIG_GPIO_TWL4030) += twl4030-gpio.o --obj-$(CONFIG_GPIO_XILINX) += xilinx_gpio.o -+obj-$(CONFIG_GPIO_RTL) += rtl_gpio.o - obj-$(CONFIG_GPIO_BT8XX) += bt8xxgpio.o -+ ---- a/drivers/gpio/Kconfig 2012-11-05 14:07:47.534263615 +0400 -+++ b/drivers/gpio/Kconfig 2012-11-05 14:07:58.770932541 +0400 -@@ -73,6 +73,15 @@ - help - Say yes here to support the Xilinx FPGA GPIO device - -+config GPIO_RTL -+ bool "Realtek RTL819x GPIO support" -+ help -+ Say yes here to support the Realtek GPIO found in -+ RTL819x boards. Please note, that this is a hacky -+ backport -+ -+ -+ - comment "I2C GPIO expanders:" - - config GPIO_MAX732X 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 deleted file mode 100644 index 079c9ae94..000000000 --- a/target/linux/realtek/patches-2.6.30/305-add-gpio-driver-switching.patch +++ /dev/null @@ -1,35 +0,0 @@ -commit 0e7132f6f0530cdafb84c56525a8b7885bd659a7 -Author: Roman Yeryomin -Date: Tue Feb 5 02:31:46 2013 +0200 - - adopt 305-add-gpio-driver-switching.patch - - Signed-off-by: Roman Yeryomin - -diff --git a/arch/rlx/Kconfig b/arch/rlx/Kconfig -index 94bf573..7fe4efc 100644 ---- a/arch/rlx/Kconfig -+++ b/arch/rlx/Kconfig -@@ -275,6 +275,22 @@ config GENERIC_ISA_DMA_SUPPORT_BROKEN - config GENERIC_GPIO - bool - -+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 SWAP_IO_SPACE - bool - diff --git a/target/linux/realtek/patches-2.6.30/306-make-gpio-rtl-honor-switch.patch b/target/linux/realtek/patches-2.6.30/306-make-gpio-rtl-honor-switch.patch deleted file mode 100644 index 875a070e1..000000000 --- a/target/linux/realtek/patches-2.6.30/306-make-gpio-rtl-honor-switch.patch +++ /dev/null @@ -1,21 +0,0 @@ -commit 5aa7793652d166d3d848ed5ca3d15607c6cb0edf -Author: Roman Yeryomin -Date: Tue Feb 5 02:32:38 2013 +0200 - - adopt 306-make-gpio-rtl-honor-switch.patch - - Signed-off-by: Roman Yeryomin - -diff --git a/drivers/char/Makefile b/drivers/char/Makefile -index 29adfc2..8d0c2a5 100644 ---- a/drivers/char/Makefile -+++ b/drivers/char/Makefile -@@ -98,7 +98,7 @@ obj-$(CONFIG_CS5535_GPIO) += cs5535_gpio.o - obj-$(CONFIG_GPIO_VR41XX) += vr41xx_giu.o - obj-$(CONFIG_GPIO_TB0219) += tb0219.o - obj-$(CONFIG_TELCLOCK) += tlclk.o --obj-$(CONFIG_RTL_819X) += rtl_gpio.o -+obj-$(CONFIG_RTL_GPIO) += rtl_gpio.o - obj-$(CONFIG_RTL_NFBI_MDIO) += rtl_mdio/ - obj-$(CONFIG_NFBI_HOST) += rtl_nfbi/ - -- cgit v1.2.3