mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
This commit is contained in:
committed by
Michal Simek
parent
4fffbc1108
commit
437d77f16b
@@ -1248,7 +1248,6 @@ static int arasan_probe(struct udevice *dev)
|
||||
/* Buffer read/write routines */
|
||||
nand_chip->read_buf = arasan_nand_read_buf;
|
||||
nand_chip->write_buf = arasan_nand_write_buf;
|
||||
nand_chip->bbt_options = NAND_BBT_USE_FLASH;
|
||||
|
||||
writel(0x0, &info->reg->cmd_reg);
|
||||
writel(0x0, &info->reg->pgm_reg);
|
||||
|
||||
Reference in New Issue
Block a user