summaryrefslogtreecommitdiffstats
path: root/target/linux/rdc/patches-2.6.32/004-rdc321x_defs_remove.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/rdc/patches-2.6.32/004-rdc321x_defs_remove.patch')
-rw-r--r--target/linux/rdc/patches-2.6.32/004-rdc321x_defs_remove.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/rdc/patches-2.6.32/004-rdc321x_defs_remove.patch b/target/linux/rdc/patches-2.6.32/004-rdc321x_defs_remove.patch
new file mode 100644
index 000000000..3bafb401f
--- /dev/null
+++ b/target/linux/rdc/patches-2.6.32/004-rdc321x_defs_remove.patch
@@ -0,0 +1,26 @@
+This file is replaced by a cleaner version with the adding of a MFD driver for
+the southbridge.
+
+Signed-off-by: Florian Fainelli <florian@openwrt.org>
+---
+diff --git a/arch/x86/include/asm/rdc321x_defs.h b/arch/x86/include/asm/rdc321x_defs.h
+deleted file mode 100644
+index c8e9c8b..0000000
+--- a/arch/x86/include/asm/rdc321x_defs.h
++++ /dev/null
+@@ -1,12 +0,0 @@
+-#define PFX "rdc321x: "
+-
+-/* General purpose configuration and data registers */
+-#define RDC3210_CFGREG_ADDR 0x0CF8
+-#define RDC3210_CFGREG_DATA 0x0CFC
+-
+-#define RDC321X_GPIO_CTRL_REG1 0x48
+-#define RDC321X_GPIO_CTRL_REG2 0x84
+-#define RDC321X_GPIO_DATA_REG1 0x4c
+-#define RDC321X_GPIO_DATA_REG2 0x88
+-
+-#define RDC321X_MAX_GPIO 58
+
+
+