projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: socfpga: Enable OCRAM ECC on startup
[cascardo/linux.git]
/
arch
/
arm
/
mach-socfpga
/
socfpga.c
diff --git
a/arch/arm/mach-socfpga/socfpga.c
b/arch/arm/mach-socfpga/socfpga.c
index
dd1ff07
..
7e0aad2
100644
(file)
--- a/
arch/arm/mach-socfpga/socfpga.c
+++ b/
arch/arm/mach-socfpga/socfpga.c
@@
-61,6
+61,9
@@
static void __init socfpga_init_irq(void)
socfpga_sysmgr_init();
if (IS_ENABLED(CONFIG_EDAC_ALTERA_L2C))
socfpga_init_l2_ecc();
+
+ if (IS_ENABLED(CONFIG_EDAC_ALTERA_OCRAM))
+ socfpga_init_ocram_ecc();
}
static void socfpga_cyclone5_restart(enum reboot_mode mode, const char *cmd)