summaryrefslogtreecommitdiff
path: root/drivers/ddr/fsl/arm_ddr_gen3.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-17 08:23:06 -0600
committerTom Rini <trini@konsulko.com>2017-06-05 12:30:55 -0400
commit6e2941d787819ae1221d7f8295fa67d2ba94a913 (patch)
tree043792ad38e575a20eab743aacc13b22c94b04f3 /drivers/ddr/fsl/arm_ddr_gen3.c
parent850431590c69e513d5ae295b3bd182c2184ab408 (diff)
common: freescale: Move arch-specific declarations
The declarations should not be in common.h. Move them to the arch-specific headers. Signed-off-by: Simon Glass <sjg@chromium.org> [trini: Fixup thinko defined(FSL_LSCH3) -> defined(CONFIG_FSL_LSCH3)] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/ddr/fsl/arm_ddr_gen3.c')
-rw-r--r--drivers/ddr/fsl/arm_ddr_gen3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ddr/fsl/arm_ddr_gen3.c b/drivers/ddr/fsl/arm_ddr_gen3.c
index 5b7ced5949..aaf4dfb1e7 100644
--- a/drivers/ddr/fsl/arm_ddr_gen3.c
+++ b/drivers/ddr/fsl/arm_ddr_gen3.c
@@ -12,6 +12,7 @@
#include <asm/processor.h>
#include <fsl_immap.h>
#include <fsl_ddr.h>
+#include <asm/arch/clock.h>
#if (CONFIG_CHIP_SELECTS_PER_CTRL > 4)
#error Invalid setting for CONFIG_CHIP_SELECTS_PER_CTRL