From: Wu, Josh Date: Wed, 19 Nov 2014 11:03:00 +0000 (+0800) Subject: ARM: at91: sama5d3_xplained: spl: enable PMECC header generation X-Git-Tag: v2015.04-rc1~38^2~7 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=05a4d544299b9a34fb96a0178457bf6d9e1fc33c;p=oweals%2Fu-boot.git ARM: at91: sama5d3_xplained: spl: enable PMECC header generation 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 Acked-by: Bo Shen --- diff --git a/include/configs/sama5d3_xplained.h b/include/configs/sama5d3_xplained.h index d5588b1241..9458047c06 100644 --- a/include/configs/sama5d3_xplained.h +++ b/include/configs/sama5d3_xplained.h @@ -246,6 +246,7 @@ #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