]> git.baikalelectronics.ru Git - uboot.git/commit
mtd: rawnand: nand_base: Allow base driver to be used in SPL without nand_bbt
authorRoger Quadros <rogerq@kernel.org>
Tue, 20 Dec 2022 10:21:57 +0000 (12:21 +0200)
committerDario Binacchi <dario.binacchi@amarulasolutions.com>
Sun, 8 Jan 2023 09:38:30 +0000 (10:38 +0100)
commit7755f7b75d699fd0ef0b64dfeca5a8b965c03894
tree085987667b24e14d24ec275fb727725c3dedd30d
parent8b1e037387d932ae494ebda8832a965a7edb7c4f
mtd: rawnand: nand_base: Allow base driver to be used in SPL without nand_bbt

nand_bbt.c is not being built with the nand_base driver during SPL
build. This results in build failures if we try to access any nand_bbt
related functions.

Don't use any nand_bbt functions for SPL build.

Signed-off-by: Roger Quadros <rogerq@kernel.org>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Link: https://lore.kernel.org/all/20221220102203.52398-3-rogerq@kernel.org
drivers/mtd/nand/raw/nand_base.c