]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: rawnand: denali: Do not reset the block before booting the kernel
authorMarek Vasut <marex@denx.de>
Tue, 21 Jan 2020 19:03:11 +0000 (20:03 +0100)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 31 Jan 2020 16:14:32 +0000 (01:14 +0900)
commit9925df051a7964e939298fe54df60153409b6352
tree8965640bdd4471e593a430e91094f909e59e256b
parent11bcc5841ae6765e010a419bd6354b15ae4e1096
mtd: rawnand: denali: Do not reset the block before booting the kernel

The Denali NAND driver in mainline Linux currently cannot deassert the
reset. The upcoming Linux 5.6 will support the reset controlling, and
also set up SPARE_AREA_SKIP_BYTES correctly. So, the Denali driver in
the future kernel will work without relying on any bootloader or firmware.
However, we still need to take care of stable kernel versions for a while.
U-boot should not assert the reset of this controller.

Fixes: ed784ac3822b ("mtd: rawnand: denali: add reset handling")
Signed-off-by: Marek Vasut <marex@denx.de>
[yamada.masahiro: reword the commit description]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/mtd/nand/raw/denali.h
drivers/mtd/nand/raw/denali_dt.c