diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-03-10 01:01:55 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-03-10 01:01:55 +0000 |
commit | f4caeaa7c6af61ca81d3cfa5519df225d365af86 (patch) | |
tree | 60c7e9d7c4b1dd74f207ff27603113416b5a278e /target/linux/cns3xxx/patches-3.3/300-laguna_support.patch | |
parent | 74f01164205571ab03dd09dd5ec273b6fadb1483 (diff) | |
download | master-187ad058-f4caeaa7c6af61ca81d3cfa5519df225d365af86.tar.gz master-187ad058-f4caeaa7c6af61ca81d3cfa5519df225d365af86.tar.bz2 master-187ad058-f4caeaa7c6af61ca81d3cfa5519df225d365af86.zip |
cns3xxx: remove linux 3.3 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35916 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/cns3xxx/patches-3.3/300-laguna_support.patch')
-rw-r--r-- | target/linux/cns3xxx/patches-3.3/300-laguna_support.patch | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/target/linux/cns3xxx/patches-3.3/300-laguna_support.patch b/target/linux/cns3xxx/patches-3.3/300-laguna_support.patch deleted file mode 100644 index 544fb5f8c5..0000000000 --- a/target/linux/cns3xxx/patches-3.3/300-laguna_support.patch +++ /dev/null @@ -1,48 +0,0 @@ ---- a/arch/arm/mach-cns3xxx/Kconfig -+++ b/arch/arm/mach-cns3xxx/Kconfig -@@ -10,4 +10,12 @@ config MACH_CNS3420VB - This is a platform with an on-board ARM11 MPCore and has support - for USB, USB-OTG, MMC/SD/SDIO, SATA, PCI-E, etc. - -+config MACH_GW2388 -+ bool "Support for Gateworks Laguna Platform" -+ help -+ Include support for the Gateworks Laguna Platform -+ -+ This is a platform with an on-board ARM11 MPCore and has support -+ for USB, USB-OTG, MMC/SD/SDIO, SATA, PCI-E, I2C, GIG, etc. -+ - endmenu ---- a/arch/arm/mach-cns3xxx/Makefile -+++ b/arch/arm/mach-cns3xxx/Makefile -@@ -1,6 +1,7 @@ - obj-$(CONFIG_ARCH_CNS3XXX) += core.o gpio.o pm.o devices.o - obj-$(CONFIG_PCI) += pcie.o - obj-$(CONFIG_MACH_CNS3420VB) += cns3420vb.o -+obj-$(CONFIG_MACH_GW2388) += laguna.o - obj-$(CONFIG_SMP) += platsmp.o headsmp.o cns3xxx_fiq.o - obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o - obj-$(CONFIG_LOCAL_TIMERS) += localtimer.o ---- a/arch/arm/mach-cns3xxx/devices.c -+++ b/arch/arm/mach-cns3xxx/devices.c -@@ -19,6 +19,7 @@ - #include <mach/cns3xxx.h> - #include <mach/irqs.h> - #include <mach/pm.h> -+#include <asm/mach-types.h> - #include "core.h" - #include "devices.h" - -@@ -102,7 +103,11 @@ void __init cns3xxx_sdhci_init(void) - u32 gpioa_pins = __raw_readl(gpioa); - - /* MMC/SD pins share with GPIOA */ -- gpioa_pins |= 0x1fff0004; -+ if (machine_is_gw2388()) { -+ gpioa_pins |= 0x1fff0000; -+ } else { -+ gpioa_pins |= 0x1fff0004; -+ } - __raw_writel(gpioa_pins, gpioa); - - cns3xxx_pwr_clk_en(CNS3XXX_PWR_CLK_EN(SDIO)); |