]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/powerpc/cpu/mpc8xxx/fsl_ifc.c
powerpc/mpc85xx:No NOR boot, do not compile IFC errata A003399
[people/ms/u-boot.git] / arch / powerpc / cpu / mpc8xxx / fsl_ifc.c
index 56b319f5d4bfe28ec7c10709d0b2a44bd1ffa432..959a0e2a5fabe6d0725e9df8a0a7da21a829dab6 100644 (file)
@@ -43,7 +43,7 @@ void init_early_memctl_regs(void)
        set_ifc_ftim(IFC_CS0, IFC_FTIM2, CONFIG_SYS_CS0_FTIM2);
        set_ifc_ftim(IFC_CS0, IFC_FTIM3, CONFIG_SYS_CS0_FTIM3);
 
-#if !defined(CONFIG_SYS_FSL_ERRATUM_IFC_A003399) || defined(CONFIG_SYS_RAMBOOT)
+#ifndef CONFIG_A003399_NOR_WORKAROUND
 #ifdef CONFIG_SYS_CSPR0_EXT
        set_ifc_cspr_ext(IFC_CS0, CONFIG_SYS_CSPR0_EXT);
 #endif