]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: nand: raw: rockchip_nfc: add NAND_SKIP_BBTSCAN option
authorJohan Jonker <jbx6244@gmail.com>
Wed, 18 Oct 2023 14:00:27 +0000 (16:00 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Tue, 24 Oct 2023 07:55:16 +0000 (15:55 +0800)
commitd27f227271d7b0cfc000508b859f1cb80a05f562
tree1ab844ff980bf9e21f2926844522f4762c811b01
parentb51cf8bb09b67958fef9424f7c9fa202a4948c12
mtd: nand: raw: rockchip_nfc: add NAND_SKIP_BBTSCAN option

On Rockchip SoCs the first boot stages are written on NAND
with help of manufacturer software that uses a different format
then the MTD framework. Skip the automatic BBT scan with the
NAND_SKIP_BBTSCAN option to be able to pass the driver probe
function and to let the original data unchanged.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/mtd/nand/raw/Kconfig
drivers/mtd/nand/raw/rockchip_nfc.c