diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2020-01-30 00:55:54 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2020-02-01 01:14:32 +0900 |
commit | 21d4a3ca549b5b1b8243c845b15f91142bfa3528 (patch) | |
tree | 33fcf210705da30c228dafe1ad442f2e2883fbde /env/common.c | |
parent | 9925df051a7964e939298fe54df60153409b6352 (diff) |
mtd: rawnand: denali_dt: insert udelay() after reset deassert
When the reset signal is de-asserted, the HW-controlled bootstrap
starts running unless it is disabled in the SoC integration.
It issues some commands to detect a NAND chip, and sets up registers
automatically. Until this process finishes, software should avoid
any register access.
Without this delay function, some of UniPhier boards hangs up while
executing nand_scan_ident(). (denali_read_byte() is blocked)
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'env/common.c')
0 files changed, 0 insertions, 0 deletions