Merge branch 'master' of git://git.denx.de/u-boot-arc
[oweals/u-boot.git] / arch / arm / cpu / armv8 / fsl-layerscape / soc.c
index 0ae61d6d3abcdce050ee309b787af6d46f7c81ae..dd633f36905c77d318ffab53d83eb2dca65c3c5b 100644 (file)
 #include <asm/io.h>
 #include <asm/global_data.h>
 #include <asm/arch-fsl-layerscape/config.h>
+#ifdef CONFIG_SYS_FSL_DDR
 #include <fsl_ddr_sdram.h>
 #include <fsl_ddr.h>
+#endif
 #ifdef CONFIG_CHAIN_OF_TRUST
 #include <fsl_validate.h>
 #endif