[U-Boot] [PATCH 5/7] omap_gpmc: use SOFTECC in SPL if it's enabled

Ilya Yanok yanok at emcraft.com
Thu Oct 20 17:23:39 CEST 2011


Hi Simon,

On 20.10.2011 16:00, Simon Schwarz wrote:
>> Use software ECC for the SPL build if support for software ECC in SPL is
>> enabled.
> 
> I'am curious: Is there a special reason for having software ecc in SPL?

Well, yes. On OMAP2+ ECC mode defaults to software (incompatible with HW
mode; 256 vs 512 bytes block size) both in U-Boot and Linux (U-Boot has
command to change it while in Linux you have to recompile the kernel).

So we need software ecc to read images written from Linux.

Regards, Ilya.


More information about the U-Boot mailing list