android_kernel_xiaomi_sm8350/drivers/mtd/chips
Haavard Skinnemoen be8f78b8e8 [MTD] [NOR] AT49BV6416 has swapped erase regions
The CFI information read from AT49BV6416 lists the erase regions in the
wrong order, causing problems when trying to erase or update the first
or last 64KiB block.

Work around this by inverting the "top boot" flag, which will
effectively reverse the order of the erase regions.

This chip is obsolete, but it's used in some existing designs.

Signed-off-by: Håvard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2008-10-18 12:53:15 +01:00
..
cfi_cmdset_0001.c [MTD] [NOR] fix cfi_cmdset_0001 FL_SYNCING race (take 2) 2008-09-26 18:56:18 -06:00
cfi_cmdset_0002.c [MTD] [NOR] AT49BV6416 has swapped erase regions 2008-10-18 12:53:15 +01:00
cfi_cmdset_0020.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
cfi_probe.c [MTD] [NOR] Rename and export new cfi_qry_*() functions 2008-08-07 11:55:07 +01:00
cfi_util.c [MTD] [NOR] Rename and export new cfi_qry_*() functions 2008-08-07 11:55:07 +01:00
chipreg.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
fwh_lock.h [MTD] Fix fwh_lock locking 2007-04-17 14:11:20 -04:00
gen_probe.c [MTD] Use DIV_ROUND_UP 2008-08-02 18:45:18 +01:00
jedec_probe.c [MTD] [NOR] drivers/mtd/chips/jedec_probe.c: fix Am29DL800BB device ID 2008-07-31 08:34:46 +01:00
Kconfig [MTD] [NOR] Select MTD_CFI_UTIL when MTD_CFI probe routine is enabled 2008-09-01 12:23:22 +01:00
Makefile [MTD] [CHIPS] Remove MTD_OBSOLETE_CHIPS (jedec, amd_flash, sharp) 2007-05-09 13:34:37 +01:00
map_absent.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
map_ram.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
map_rom.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00