]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/freescale/t104xrdb/spl.c
powerpc/mpc85xx:Put errata number for T104x NAND boot issue
[karo-tx-uboot.git] / board / freescale / t104xrdb / spl.c
index 3822a377384df220301b5c6ad224c46633090b3f..75d9d9c5fa1714644584d9f58b74c11e98b976b2 100644 (file)
@@ -34,12 +34,12 @@ unsigned long get_board_ddr_clk(void)
 void board_init_f(ulong bootflag)
 {
        u32 plat_ratio, sys_clk, uart_clk;
-#ifdef CONFIG_SPL_NAND_BOOT
+#if defined(CONFIG_SPL_NAND_BOOT) && defined(CONFIG_A008044_WORKAROUND)
        u32 porsr1, pinctl;
 #endif
        ccsr_gur_t *gur = (void *)CONFIG_SYS_MPC85xx_GUTS_ADDR;
 
-#ifdef CONFIG_SPL_NAND_BOOT
+#if defined(CONFIG_SPL_NAND_BOOT) && defined(CONFIG_A008044_WORKAROUND)
        /*
         * There is T1040 SoC issue where NOR, FPGA are inaccessible during
         * NAND boot because IFC signals > IFC_AD7 are not enabled.