aboutsummaryrefslogtreecommitdiff
path: root/drivers/ddr/fsl/ctrl_regs.c
diff options
context:
space:
mode:
authorSimon Glass2017-05-17 08:23:10 -0600
committerTom Rini2017-06-05 14:12:59 -0400
commit457e51cffdacf117c2afdd09d9bfc2f8df7314cb (patch)
tree8c57e8c2e3411e24bc1b827345c4a91f635128a2 /drivers/ddr/fsl/ctrl_regs.c
parent89f5eaa1ee9a3307e05458aa4f3b2155ab0a7144 (diff)
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/ctrl_regs.c')
-rw-r--r--drivers/ddr/fsl/ctrl_regs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ddr/fsl/ctrl_regs.c b/drivers/ddr/fsl/ctrl_regs.c
index d42dca2f56d..c0ee858a02e 100644
--- a/drivers/ddr/fsl/ctrl_regs.c
+++ b/drivers/ddr/fsl/ctrl_regs.c
@@ -16,7 +16,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