]> git.ipfire.org Git - thirdparty/u-boot.git/commit
spl: nand: initialize writesize for am335x
authorYegor Yefremov <yegorslists@googlemail.com>
Thu, 25 Sep 2025 20:51:50 +0000 (22:51 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 26 Sep 2025 00:54:07 +0000 (18:54 -0600)
commit9b45d574af1b64fcd997f08fe702a2d0ecfccbe4
tree0c047daeaf75cb1b6bf8ed824b3acd20b5ee6b10
parent9a20a4fba587956225ebaf3878f48e70a2f42ced
spl: nand: initialize writesize for am335x

Initialize mtd->writesize in nand_init() as otherwise
nand_page_size() returns 0 and this affects NAND read
operations.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
drivers/mtd/nand/raw/am335x_spl_bch.c