]> git.sur5r.net Git - u-boot/commit
mtd, cfi, ubi: add missing writebufsize initialization
authorHeiko Schocher <hs@denx.de>
Fri, 31 Oct 2014 10:29:45 +0000 (11:29 +0100)
committerHeiko Schocher <hs@denx.de>
Wed, 19 Nov 2014 06:54:04 +0000 (07:54 +0100)
commit65e5cb54d017d60ec9d5de394715e5c95765f836
tree6e0a0b2ec4857b8b79cc155b36b6fee2cb291678
parentf196044dfd64745a163773c6c746f9e149ace127
mtd, cfi, ubi: add missing writebufsize initialization

ff94bc40af3481d47546595ba73c136de6af6929 "mtd, ubi, ubifs: resync with Linux-3.14"
introduced the writebufsize field in struct mtd_info, which
is not initialized in the cfi_flash driver, which leads in
not working ubi on cfi flashes. Fix it

Signed-off-by: Heiko Schocher <hs@denx.de>
Reported-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Acked-by: Stefan Roese <sr@denx.de>
Acked-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
drivers/mtd/cfi_mtd.c