summaryrefslogtreecommitdiff
path: root/altera-socfpga/patches/ecc-off.diff
diff options
context:
space:
mode:
Diffstat (limited to 'altera-socfpga/patches/ecc-off.diff')
-rw-r--r--altera-socfpga/patches/ecc-off.diff13
1 files changed, 13 insertions, 0 deletions
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)