uboot/drivers/mtd
Stefan Roese 62c390f8a3 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>
2015-09-15 15:05:21 -04:00
..
nand mtd: nand: fsmc: Fixes and cleanup for fsmc_nand_switch_ecc() 2015-09-15 15:05:21 -04:00
onenand
spi of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
ubi
Kconfig
Makefile mtd, nand: Move common functions from cmd_nand.c to common place 2015-06-30 00:40:11 +05:30
at45.c
cfi_flash.c
cfi_mtd.c
dataflash.c
ftsmc020.c
jedec_flash.c
mtd_uboot.c mtd: fix false positive "Offset exceeds device limit" error 2015-07-10 09:38:50 -04:00
mtdconcat.c
mtdcore.c mtd: Introduce mtd_block_isreserved() 2015-08-25 22:53:57 -05:00
mtdcore.h
mtdpart.c mtd: Introduce mtd_block_isreserved() 2015-08-25 22:53:57 -05:00
mw_eeprom.c
st_smi.c