From 449a647063a110186bbbbbc21c08c157db92a351 Mon Sep 17 00:00:00 2001 From: Edward Cragg Date: Fri, 29 May 2015 17:19:00 +0100 Subject: SoCFPGA: Add patches These patches are applied when Baserock builds, modifying the automatically generated headers and Makefile used to build the SPL preloader Change-Id: Idbd1a822337363bf9e6e35bdc5e256182145f6b9 --- altera-socfpga/patches/ecc-off.diff | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 altera-socfpga/patches/ecc-off.diff (limited to 'altera-socfpga/patches/ecc-off.diff') diff --git a/altera-socfpga/patches/ecc-off.diff b/altera-socfpga/patches/ecc-off.diff new file mode 100644 index 0000000..d030b75 --- /dev/null +++ b/altera-socfpga/patches/ecc-off.diff @@ -0,0 +1,13 @@ +diff --git a/hardware-handoff/spl_bsp/generated/sdram/sdram_config.h b/hardware-handoff/spl_bsp/generated/sdram/sdram_config.h +index 05d3ce2..5b45c4b 100644 +--- a/hardware-handoff/spl_bsp/generated/sdram/sdram_config.h ++++ b/hardware-handoff/spl_bsp/generated/sdram/sdram_config.h +@@ -33,7 +33,7 @@ + #define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_MEMTYPE (2) + #define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_MEMBL (8) + #define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_ADDRORDER (0) +-#define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_ECCEN (1) ++#define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_ECCEN (0) + #define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_ECCCORREN (1) + #define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_REORDEREN (1) + #define CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_STARVELIMIT (10) -- cgit v1.2.1