diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-04-25 18:53:49 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-04-25 18:53:49 +0000 |
commit | d8c7ac8a8ab8ef8fe2bbb254ca6ca5c83a898068 (patch) | |
tree | d46d96b37404e8e02e20cdc0fc276ca51a297c05 /target/linux/adm8668/patches-3.3/003-adm8668_nor_map.patch | |
parent | 7f09ba740af1f8f964009114ee10cfd8ad0ec787 (diff) | |
download | mtk-20170518-d8c7ac8a8ab8ef8fe2bbb254ca6ca5c83a898068.zip mtk-20170518-d8c7ac8a8ab8ef8fe2bbb254ca6ca5c83a898068.tar.gz mtk-20170518-d8c7ac8a8ab8ef8fe2bbb254ca6ca5c83a898068.tar.bz2 |
adm8668: add support for 3.3
SVN-Revision: 31480
Diffstat (limited to 'target/linux/adm8668/patches-3.3/003-adm8668_nor_map.patch')
-rw-r--r-- | target/linux/adm8668/patches-3.3/003-adm8668_nor_map.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/adm8668/patches-3.3/003-adm8668_nor_map.patch b/target/linux/adm8668/patches-3.3/003-adm8668_nor_map.patch new file mode 100644 index 0000000..eca9bc4 --- /dev/null +++ b/target/linux/adm8668/patches-3.3/003-adm8668_nor_map.patch @@ -0,0 +1,25 @@ +--- a/drivers/mtd/maps/Kconfig ++++ b/drivers/mtd/maps/Kconfig +@@ -96,6 +96,12 @@ config MSP_FLASH_MAP_LIMIT + 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 @@ obj-$(CONFIG_MTD) += map_funcs.o + endif + + # Chip mappings ++obj-$(CONFIG_MTD_ADM8668_NOR) += adm8668.o + obj-$(CONFIG_MTD_CDB89712) += cdb89712.o + obj-$(CONFIG_MTD_CFI_FLAGADM) += cfi_flagadm.o + obj-$(CONFIG_MTD_DC21285) += dc21285.o |