diff options
author | Stefan Roese <sr@denx.de> | 2015-09-14 08:47:47 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-09-15 15:05:21 -0400 |
commit | 62c390f8a3f0aabe61656d6996f1d49766de2c20 (patch) | |
tree | d084c121f3a4995abdc2f8c3ba942eff35b8bf22 /README | |
parent | 0226d8780b3886a4acdd2d4c9731419306d470f6 (diff) | |
download | u-boot-imx-62c390f8a3f0aabe61656d6996f1d49766de2c20.zip u-boot-imx-62c390f8a3f0aabe61656d6996f1d49766de2c20.tar.gz u-boot-imx-62c390f8a3f0aabe61656d6996f1d49766de2c20.tar.bz2 |
mtd: nand: fsmc: Fixes and cleanup for fsmc_nand_switch_ecc()
This patch addresses some comments raised by Scott in the last versions.
Here the changes in detail:
- Removed __maybe_unused as its not needed
- Added check for strength == 4 and error out for the unsupported
ECC strength values
- Don't set .caclulate, .correct, and .bytes for NAND_ECC_SOFT_BCH as this
will be done in nand_scan_tail()
- Set .caclulate back to fsmc_read_hwecc() in the HW case
- Added comment that this function will only be called on SPEAr platforms,
not supporting the BCH8 HW ECC (FSMC_VER8)
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Scott Wood <scottwood@freescale.com>
Cc: Tom Rini <trini@konsulko.com>
Acked-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions