From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bo Shen Date: Thu, 20 Nov 2014 09:13:20 +0800 Subject: [U-Boot] [PATCH 1/6] ARM: at91: sama5d3_xplained: spl: enable PMECC header generation In-Reply-To: <1416394985-10657-2-git-send-email-josh.wu@atmel.com> References: <1416394985-10657-1-git-send-email-josh.wu@atmel.com> <1416394985-10657-2-git-send-email-josh.wu@atmel.com> Message-ID: <546D4030.4030603@atmel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Josh, On 11/19/2014 07:03 PM, Josh Wu wrote: > 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 Thanks. Acked-by: Bo Shen > --- > include/configs/sama5d3_xplained.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/configs/sama5d3_xplained.h b/include/configs/sama5d3_xplained.h > index 5b77db2..d24d600 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 Best Regards, Bo Shen