]> git.sur5r.net Git - u-boot/blobdiff - arch/powerpc/cpu/ppc4xx/4xx_ibm_ddr2_autocalib.c
serial: drop useless ctlr field
[u-boot] / arch / powerpc / cpu / ppc4xx / 4xx_ibm_ddr2_autocalib.c
index 2cfc37f752dde014ebc67ff74de69571222d8249..b909fcab0d8161a222209a01c64e60cb7a7a7e52 100644 (file)
 #undef DEBUG
 
 #include <common.h>
-#include <ppc4xx.h>
+#include <asm/ppc4xx.h>
 #include <asm/io.h>
 #include <asm/processor.h>
 
 #include "ecc.h"
 
-#if defined(CONFIG_PPC4xx_DDR_AUTOCALIBRATION)
-
 /*
  * Only compile the DDR auto-calibration code for NOR boot and
  * not for NAND boot (NAND SPL and NAND U-Boot - NUB)
@@ -1253,4 +1251,3 @@ u32 DQS_autocalibration(void)
        return 0;
 }
 #endif /* !defined(CONFIG_NAND_U_BOOT) && !defined(CONFIG_NAND_SPL) */
-#endif /* defined(CONFIG_PPC4xx_DDR_AUTOCALIBRATION) */