]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: nand: arasan: Remove hardcoded bbt option
authorAshok Reddy Soma <ashok.reddy.soma@amd.com>
Fri, 24 Feb 2023 05:07:06 +0000 (22:07 -0700)
committerMichal Simek <michal.simek@amd.com>
Thu, 9 Mar 2023 12:15:00 +0000 (13:15 +0100)
commit437d77f16bf1a7791d74ec81ca4d669860c8b056
tree9e922cf3d4a728a7ce4e8323d0b53177863acd5b
parent4fffbc1108f3f5e2932cdefea8b5f831b46040c7
mtd: nand: arasan: Remove hardcoded bbt option

Bad block table option is hardcoded to read from flash with
NAND_BBT_USE_FLASH option. This decision should be done based on DT
property. Remove this hardcoding, to be able to use DT property.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
Link: https://lore.kernel.org/r/20230224050709.30014-2-ashok.reddy.soma@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/mtd/nand/raw/arasan_nfc.c