summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWu, Josh <Josh.wu@atmel.com>2014-11-19 19:03:00 +0800
committerAndreas Bießmann <andreas.devel@googlemail.com>2015-01-19 12:49:31 +0100
commit05a4d544299b9a34fb96a0178457bf6d9e1fc33c (patch)
treeff33c6838c7f2496d790b1dbed22865adfd05dc5 /include
parentab88f471e33747e8ee1e7f752d06960b129085fe (diff)
downloadblackbird-obmc-uboot-05a4d544299b9a34fb96a0178457bf6d9e1fc33c.tar.gz
blackbird-obmc-uboot-05a4d544299b9a34fb96a0178457bf6d9e1fc33c.zip
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 <josh.wu@atmel.com> Acked-by: Bo Shen <voice.shen@atmel.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/sama5d3_xplained.h1
1 files changed, 1 insertions, 0 deletions
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
OpenPOWER on IntegriCloud