]> git.dujemihanovic.xyz Git - u-boot.git/commit
MTD: nand: mxs_nand_spl: Fix empty function pointer for BBT
authorAdam Ford <aford173@gmail.com>
Sun, 30 Dec 2018 16:11:16 +0000 (10:11 -0600)
committerStefano Babic <sbabic@denx.de>
Mon, 28 Jan 2019 19:55:46 +0000 (20:55 +0100)
commit96d0be07e7498e7174daa6f3b56fc807b9feb71d
treed48a466a8432e1678e18c6be741750892171c6b6
parent65a106e36fdd307a241bec9f0af1564889f10830
MTD: nand: mxs_nand_spl: Fix empty function pointer for BBT

The initialization function calls a nand_chip.scan_bbt(mtd) but
scan_bbt is never initialized resulting in an undefined function
pointer.  This will direct the function pointer to nand_default_bbt
defined in the same file.

Signed-off-by: Adam Ford <aford173@gmail.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
drivers/mtd/nand/raw/mxs_nand_spl.c