summaryrefslogtreecommitdiff
path: root/target/linux/adm8668/patches-2.6.36/003-adm8668_nor_map.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-11-06 18:54:20 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-11-06 18:54:20 +0000
commitd9a42c5436a0bdc49696edaf80958cfa9a3f26cc (patch)
tree8426747c468d82fa0461445c9c616d536cd77534 /target/linux/adm8668/patches-2.6.36/003-adm8668_nor_map.patch
parent1f8f2aaa37114460df167dda37260190e714e6fc (diff)
downloadmtk-20170518-d9a42c5436a0bdc49696edaf80958cfa9a3f26cc.zip
mtk-20170518-d9a42c5436a0bdc49696edaf80958cfa9a3f26cc.tar.gz
mtk-20170518-d9a42c5436a0bdc49696edaf80958cfa9a3f26cc.tar.bz2
Merge branch 'adm8668'
SVN-Revision: 23900
Diffstat (limited to 'target/linux/adm8668/patches-2.6.36/003-adm8668_nor_map.patch')
-rw-r--r--target/linux/adm8668/patches-2.6.36/003-adm8668_nor_map.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/adm8668/patches-2.6.36/003-adm8668_nor_map.patch b/target/linux/adm8668/patches-2.6.36/003-adm8668_nor_map.patch
new file mode 100644
index 0000000..59fba58
--- /dev/null
+++ b/target/linux/adm8668/patches-2.6.36/003-adm8668_nor_map.patch
@@ -0,0 +1,25 @@
+--- a/drivers/mtd/maps/Kconfig
++++ b/drivers/mtd/maps/Kconfig
+@@ -103,6 +103,12 @@
+ default "0x02000000"
+ depends on MSP_FLASH_MAP_LIMIT_32M
+
++config MTD_ADM8668_NOR
++ tristate "ADM8668 NOR mapping"
++ depends on ADM8668 && MTD_CFI
++ help
++ mapping driver for ADM8668 NOR
++
+ config MTD_SUN_UFLASH
+ tristate "Sun Microsystems userflash support"
+ depends on SPARC && MTD_CFI && PCI
+--- a/drivers/mtd/maps/Makefile
++++ b/drivers/mtd/maps/Makefile
+@@ -7,6 +7,7 @@
+ endif
+
+ # Chip mappings
++obj-$(CONFIG_MTD_ADM8668_NOR) += adm8668.o
+ obj-$(CONFIG_MTD_CDB89712) += cdb89712.o
+ obj-$(CONFIG_MTD_ARM_INTEGRATOR)+= integrator-flash.o
+ obj-$(CONFIG_MTD_CFI_FLAGADM) += cfi_flagadm.o