replace the custom mtd driver with a partition parser
[openwrt/openwrt.git] / target / linux / adm8668 / patches-3.3 / 003-adm8668_nor_map.patch
index eca9bc468aa7701550a19bed577d9ba7ae5c90f4..8fe6f1e531f6d922b3729a523f3539bfef399d4f 100644 (file)
@@ -4,11 +4,11 @@
        default "0x02000000"
        depends on MSP_FLASH_MAP_LIMIT_32M
  
-+config MTD_ADM8668_NOR
-+      tristate "ADM8668 NOR mapping"
-+      depends on ADM8668 && MTD_CFI
++config MTD_ADM8668_PARTS
++      tristate "ADM8668 partition parser"
++      depends on ADM8668
 +      help
-+        mapping driver for ADM8668 NOR
++        Partition parser for the Infineon/ADMTek ADM8668 (WildPass).
 +
  config MTD_SUN_UFLASH
        tristate "Sun Microsystems userflash support"
@@ -19,7 +19,7 @@
  endif
  
  # Chip mappings
-+obj-$(CONFIG_MTD_ADM8668_NOR) += adm8668.o
++obj-$(CONFIG_MTD_ADM8668_PARTS)       += adm8668.o
  obj-$(CONFIG_MTD_CDB89712)    += cdb89712.o
  obj-$(CONFIG_MTD_CFI_FLAGADM) += cfi_flagadm.o
  obj-$(CONFIG_MTD_DC21285)     += dc21285.o