]> git.baikalelectronics.ru Git - uboot.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)
commit72ce91e0e284b37c63f03dde7e63c132c84e22c0
tree9e922cf3d4a728a7ce4e8323d0b53177863acd5b
parent9cea9992eeed2e6bb2135f77740fe7f0d4dae8ba
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