summaryrefslogtreecommitdiff
path: root/common/board_f.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-17 08:23:01 -0600
committerTom Rini <trini@konsulko.com>2017-06-05 11:02:38 -0400
commitb885d02e2c3ebb05c723519d8f566cb409d223df (patch)
tree92d24d705d62d6cdb7cc49c343227098bb6b7d41 /common/board_f.c
parent5d9828563f80a1319e793166974dd6003dc1d941 (diff)
arm: Remove include files from common.h
With a small tweak we can avoid including these files for all boards. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common/board_f.c')
-rw-r--r--common/board_f.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/board_f.c b/common/board_f.c
index a212f2b539..fe90faf309 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -31,6 +31,9 @@
#include <trace.h>
#include <video.h>
#include <watchdog.h>
+#ifdef CONFIG_MACH_TYPE
+#include <asm/mach-types.h>
+#endif
#if defined(CONFIG_MP) && defined(CONFIG_PPC)
#include <asm/mp.h>
#endif