[U-Boot] mtd: nand: fsmc: Fixes and cleanup for fsmc_nand_switch_ecc()

Tom Rini trini at konsulko.com
Tue Sep 15 23:34:17 CEST 2015


On Mon, Sep 14, 2015 at 08:47:47AM +0200, Stefan Roese wrote:

> 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 at denx.de>
> Cc: Scott Wood <scottwood at freescale.com>
> Cc: Tom Rini <trini at konsulko.com>
> Acked-by: Scott Wood <scottwood at freescale.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150915/eef97b90/attachment.sig>


More information about the U-Boot mailing list