]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARM: at91: sama5d3_xplained: spl: enable PMECC header generation
authorWu, Josh <Josh.wu@atmel.com>
Wed, 19 Nov 2014 11:03:00 +0000 (19:03 +0800)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Mon, 19 Jan 2015 11:49:31 +0000 (12:49 +0100)
As sama5d3 xplained support the PMECC. So add the PMECC header for spl
binary. That make ROM loader can use PMECC to avoid error flips in spl
code in nandflash.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Acked-by: Bo Shen <voice.shen@atmel.com>
include/configs/sama5d3_xplained.h

index d5588b12414c54c3dadba4d86ecc450223169695..9458047c06e0077851947ba4e37488a0e20cc051 100644 (file)
 #define CONFIG_SYS_NAND_OOBSIZE                64
 #define CONFIG_SYS_NAND_BLOCK_SIZE     0x20000
 #define CONFIG_SYS_NAND_BAD_BLOCK_POS  0x0
+#define CONFIG_SPL_GENERATE_ATMEL_PMECC_HEADER
 
 #endif