summaryrefslogtreecommitdiffstats
path: root/drivers/ddr/fsl/util.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-17 08:23:10 -0600
committerTom Rini <trini@konsulko.com>2017-06-05 14:12:59 -0400
commit457e51cffdacf117c2afdd09d9bfc2f8df7314cb (patch)
tree8c57e8c2e3411e24bc1b827345c4a91f635128a2 /drivers/ddr/fsl/util.c
parent89f5eaa1ee9a3307e05458aa4f3b2155ab0a7144 (diff)
downloadu-boot-457e51cffdacf117c2afdd09d9bfc2f8df7314cb.tar.gz
u-boot-457e51cffdacf117c2afdd09d9bfc2f8df7314cb.tar.xz
u-boot-457e51cffdacf117c2afdd09d9bfc2f8df7314cb.zip
common: arm: freescale: layerscape: Move header files out of common.h
We should not have an arch-specific header file in common.h. Adjust the board files a little so it is not needed, and drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/ddr/fsl/util.c')
-rw-r--r--drivers/ddr/fsl/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ddr/fsl/util.c b/drivers/ddr/fsl/util.c
index f29d49da0e..0a305b36b8 100644
--- a/drivers/ddr/fsl/util.c
+++ b/drivers/ddr/fsl/util.c
@@ -13,7 +13,8 @@
#include <fsl_ddr.h>
#include <fsl_immap.h>
#include <asm/io.h>
-#if defined(CONFIG_FSL_LSCH2) || defined(CONFIG_FSL_LSCH3)
+#if defined(CONFIG_FSL_LSCH2) || defined(CONFIG_FSL_LSCH3) || \
+ defined(CONFIG_ARM)
#include <asm/arch/clock.h>
#endif