aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/fsl_ifc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/fsl_ifc.c')
-rw-r--r--drivers/misc/fsl_ifc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/misc/fsl_ifc.c b/drivers/misc/fsl_ifc.c
index be619736674..3902e9ff53d 100644
--- a/drivers/misc/fsl_ifc.c
+++ b/drivers/misc/fsl_ifc.c
@@ -162,3 +162,10 @@ void init_early_memctl_regs(void)
set_ifc_csor(IFC_CS7, CONFIG_SYS_CSOR7);
#endif
}
+
+void init_final_memctl_regs(void)
+{
+#ifdef CONFIG_SYS_CSPR0_FINAL
+ set_ifc_cspr(IFC_CS0, CONFIG_SYS_CSPR0_FINAL);
+#endif
+}