diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-05-07 17:40:15 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-05-07 17:40:15 +0000 |
commit | 6b5012ce1fa90c0be451e73fce5f545dd1cf185d (patch) | |
tree | 758e9a678f9881826bb73f2ce703e67cbd1a4840 /target/linux/pxa/patches/008-verdex_mtd_support.patch | |
parent | 1f1fd8616fad9169e0900d8da1fbf3d202d318a3 (diff) | |
download | mtk-20170518-6b5012ce1fa90c0be451e73fce5f545dd1cf185d.zip mtk-20170518-6b5012ce1fa90c0be451e73fce5f545dd1cf185d.tar.gz mtk-20170518-6b5012ce1fa90c0be451e73fce5f545dd1cf185d.tar.bz2 |
pxa: remove 2.6.37 support
SVN-Revision: 31643
Diffstat (limited to 'target/linux/pxa/patches/008-verdex_mtd_support.patch')
-rw-r--r-- | target/linux/pxa/patches/008-verdex_mtd_support.patch | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/target/linux/pxa/patches/008-verdex_mtd_support.patch b/target/linux/pxa/patches/008-verdex_mtd_support.patch deleted file mode 100644 index dbb5bf8..0000000 --- a/target/linux/pxa/patches/008-verdex_mtd_support.patch +++ /dev/null @@ -1,57 +0,0 @@ ---- a/arch/arm/mach-pxa/gumstix-verdex.c -+++ b/arch/arm/mach-pxa/gumstix-verdex.c -@@ -51,6 +51,46 @@ - - #include <linux/delay.h> - -+static struct resource flash_resource = { -+ .start = 0x00000000, -+ .end = SZ_64M - 1, -+ .flags = IORESOURCE_MEM, -+}; -+ -+static struct mtd_partition gumstix_partitions[] = { -+ { -+ .name = "u-boot", -+ .size = 0x00040000, -+ .offset = 0, -+ .mask_flags = MTD_WRITEABLE /* force read-only */ -+ } , { -+ .name = "rootfs", -+ .size = 0x01ec0000, -+ .offset = 0x00040000 -+ } , { -+ .name = "kernel", -+ .size = 0x00100000, -+ .offset = 0x01f00000 -+ } -+}; -+ -+static struct flash_platform_data gumstix_flash_data = { -+ .map_name = "cfi_probe", -+ .parts = gumstix_partitions, -+ .nr_parts = ARRAY_SIZE(gumstix_partitions), -+ .width = 2, -+}; -+ -+static struct platform_device gumstix_flash_device = { -+ .name = "pxa2xx-flash", -+ .id = 0, -+ .dev = { -+ .platform_data = &gumstix_flash_data, -+ }, -+ .resource = &flash_resource, -+ .num_resources = 1, -+}; -+ - - #if defined(CONFIG_SMSC911X) || defined(CONFIG_SMSC911X_MODULE) \ - || defined(CONFIG_PCMCIA_PXA2XX) || defined(CONFIG_PCMCIA_PXA2XX_MODULE) -@@ -540,6 +580,7 @@ static struct platform_device verdex_aud - }; - - static struct platform_device *devices[] __initdata = { -+ &gumstix_flash_device, - &verdex_audio_device, - }; - |