diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-11-13 20:31:51 +0900 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-11-26 19:53:22 -0600 |
commit | f09eb52b3ffcc63b5bdaa5ca33f130491201f571 (patch) | |
tree | f3fcc47270b35ed6e23426c8542c950a3fb01ddb /include | |
parent | 65e4145a2093e6f80f19018f10a416bd02d0e816 (diff) | |
download | u-boot-imx-f09eb52b3ffcc63b5bdaa5ca33f130491201f571.zip u-boot-imx-f09eb52b3ffcc63b5bdaa5ca33f130491201f571.tar.gz u-boot-imx-f09eb52b3ffcc63b5bdaa5ca33f130491201f571.tar.bz2 |
mtd: denali: set some registers after nand_scan_ident()
Some but not all of implementations of the Denali NAND controller
have hardware circuits to detect the device parameters such as
page_size, erase_size, etc. Even on those SoCs with such hardware
supported, the hardware is known to detect wrong parameters for some
nasty (almost buggy) NAND devices. The device parameters detected
during nand_scan_ident() are more trustworthy.
This commit sets some hardware registers to mtd->pagesize,
mtd->oobsize, etc. in the code between nand_scan_ident() and
nand_scan_tail().
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Scott Wood <scottwood@freescale.com>
Cc: Chin Liang See <clsee@altera.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions