linux/drivers/mtd
Pratyush Yadav dec18bd8f4
mtd: spi-nor: sfdp: prepare BFPT parsing for JESD216 rev D
JESD216 rev D makes BFPT 20 DWORDs. Update the BFPT size define to
reflect that.

The check for rev A or later compared the BFPT header length with the
maximum BFPT length, BFPT_DWORD_MAX. Since BFPT_DWORD_MAX was 16, and so
was the BFPT length for both rev A and B, this check worked fine. But
now, since BFPT_DWORD_MAX is 20, it means this check will also stop BFPT
parsing for rev A or B, since their length is 16.

So, instead check for BFPT_DWORD_MAX_JESD216 to stop BFPT parsing for
the first JESD216 version, and check for BFPT_DWORD_MAX_JESD216B for the
next two versions.

Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
2020-05-30 21:19:08 +03:00
..
chips mtd: Convert fallthrough comments into statements 2020-03-30 10:14:54 +02:00
devices mtd: Convert fallthrough comments into statements 2020-03-30 10:14:54 +02:00
hyperbus mtd: hyperbus: move direct mapping setup to AM654 HBMC driver 2020-03-03 10:13:11 +05:30
lpddr mtd: Convert fallthrough comments into statements 2020-03-30 10:14:54 +02:00
maps mtd: Convert fallthrough comments into statements 2020-03-30 10:14:54 +02:00
nand mtd: Convert fallthrough comments into statements 2020-03-30 10:14:54 +02:00
parsers mtd: sharpslpart: Fix unsigned comparison to zero 2020-01-21 20:00:34 +01:00
spi-nor mtd: spi-nor: sfdp: prepare BFPT parsing for JESD216 rev D 2020-05-30 21:19:08 +03:00
tests treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 326 2019-06-05 17:37:06 +02:00
ubi This pull request contains fixes for UBI and UBIFS: 2020-04-07 12:40:56 -07:00
ftl.c treewide: Use array_size() in vmalloc() 2018-06-12 16:19:22 -07:00
inftlcore.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
inftlmount.c mtd: fix spelling mistake "BlockMultiplerBits" -> "BlockMultiplierBits" 2020-03-11 14:49:30 +01:00
Kconfig mtd: parsers: Move CMDLINE parser 2019-09-15 23:50:50 +02:00
Makefile mtd: parsers: Move CMDLINE parser 2019-09-15 23:50:50 +02:00
mtd_blkdevs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 102 2019-05-24 17:39:00 +02:00
mtdblock.c mtd: Fix issue where write_cached_data() fails but write() still returns success 2020-03-24 23:02:30 +01:00
mtdblock_ro.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 102 2019-05-24 17:39:00 +02:00
mtdchar.c mtd: implement proper partition handling 2020-03-11 14:49:30 +01:00
mtdconcat.c mtd: concat: Fix a comment referring to an unknown symbol 2020-01-27 17:45:31 +01:00
mtdcore.c mtd: implement proper partition handling 2020-03-11 14:49:30 +01:00
mtdcore.h mtd: Provide fs_context-aware mount_mtd() replacement 2019-09-05 14:34:23 -04:00
mtdoops.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00
mtdpart.c mtd: implement proper partition handling 2020-03-11 14:49:30 +01:00
mtdsuper.c mtd: Kill mount_mtd() 2019-09-05 14:34:26 -04:00
mtdswap.c mtd: no need to check return value of debugfs_create functions 2019-11-14 10:57:38 +01:00
nftlcore.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
nftlmount.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
rfd_ftl.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
sm_ftl.c mtd: sm_ftl: fix NULL pointer warning 2020-01-09 20:09:55 +01:00
sm_ftl.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
ssfdc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00