]> git.dujemihanovic.xyz Git - u-boot.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)
commitfa87360b3ae28639f72e1c665b0631436693f60f
tree085987667b24e14d24ec275fb727725c3dedd30d
parent04fcd2587321177f18203f23cf3d892cd3c8814e
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