]> git.baikalelectronics.ru Git - uboot.git/commit
mtd: nand: raw: denali: Assert reset before deassert
authorLey Foon Tan <ley.foon.tan@intel.com>
Fri, 10 Jul 2020 06:58:14 +0000 (14:58 +0800)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 11 Jul 2020 12:30:21 +0000 (21:30 +0900)
commit86a43a7cdff21c178f4d571ef264bbcc517ea69c
tree4f10aa07d7373b8cd862ce4fa23022639c9b8fe5
parent0282849d45899bf65b8576952cf0d1c8223a8b92
mtd: nand: raw: denali: Assert reset before deassert

Always put the controller in reset, then take it out of reset.
This is to make sure controller always in reset state in both SPL and
proper Uboot.

This is preparation for the next patch to poll for reset completion
(rst_comp) bit after reset.

Tested-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Radu Bacrau <radu.bacrau@intel.com>
Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/mtd/nand/raw/denali_dt.c