From 6e2941d787819ae1221d7f8295fa67d2ba94a913 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 17 May 2017 08:23:06 -0600 Subject: 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 [trini: Fixup thinko defined(FSL_LSCH3) -> defined(CONFIG_FSL_LSCH3)] Signed-off-by: Tom Rini --- drivers/ddr/fsl/util.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/ddr/fsl/util.c') diff --git a/drivers/ddr/fsl/util.c b/drivers/ddr/fsl/util.c index b58784be65..f29d49da0e 100644 --- a/drivers/ddr/fsl/util.c +++ b/drivers/ddr/fsl/util.c @@ -13,6 +13,9 @@ #include #include #include +#if defined(CONFIG_FSL_LSCH2) || defined(CONFIG_FSL_LSCH3) +#include +#endif /* To avoid 64-bit full-divides, we factor this here */ #define ULL_2E12 2000000000000ULL -- cgit v1.2.3