diff options
author | John Crispin <john@openwrt.org> | 2013-06-29 16:33:18 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-06-29 16:33:18 +0000 |
commit | aff84655f5ab9bc38a7c5b0755ea0f209fa64fe9 (patch) | |
tree | 19b2f80a1b9058164b6556f349680d2d985691bc /target/linux/lantiq/patches-3.7/0305-no_xip_nor.patch | |
parent | 2d506f46fb68d5290d4cfc4ebb43edeabe1595d6 (diff) | |
download | master-31e0f0ae-aff84655f5ab9bc38a7c5b0755ea0f209fa64fe9.tar.gz master-31e0f0ae-aff84655f5ab9bc38a7c5b0755ea0f209fa64fe9.tar.bz2 master-31e0f0ae-aff84655f5ab9bc38a7c5b0755ea0f209fa64fe9.zip |
lantiq: remove 3.7 kernel patches
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37084
Diffstat (limited to 'target/linux/lantiq/patches-3.7/0305-no_xip_nor.patch')
-rw-r--r-- | target/linux/lantiq/patches-3.7/0305-no_xip_nor.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/target/linux/lantiq/patches-3.7/0305-no_xip_nor.patch b/target/linux/lantiq/patches-3.7/0305-no_xip_nor.patch deleted file mode 100644 index a154befded..0000000000 --- a/target/linux/lantiq/patches-3.7/0305-no_xip_nor.patch +++ /dev/null @@ -1,17 +0,0 @@ -Index: linux-3.7.10/drivers/mtd/maps/lantiq-flash.c -=================================================================== ---- linux-3.7.10.orig/drivers/mtd/maps/lantiq-flash.c 2013-02-27 18:22:04.000000000 +0100 -+++ linux-3.7.10/drivers/mtd/maps/lantiq-flash.c 2013-03-12 10:10:22.954382685 +0100 -@@ -134,7 +134,11 @@ - } - - ltq_mtd->map = kzalloc(sizeof(struct map_info), GFP_KERNEL); -- ltq_mtd->map->phys = ltq_mtd->res->start; -+ if (of_find_property(pdev->dev.of_node, "lantiq,noxip", NULL)) -+ ltq_mtd->map->phys = NO_XIP; -+ else -+ ltq_mtd->map->phys = ltq_mtd->res->start; -+ ltq_mtd->res->start; - ltq_mtd->map->size = resource_size(ltq_mtd->res); - ltq_mtd->map->virt = devm_request_and_ioremap(&pdev->dev, ltq_mtd->res); - if (!ltq_mtd->map->virt) { |