summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-03-31 08:40:39 -0600
committerTom Rini <trini@konsulko.com>2017-04-05 16:36:57 -0400
commit1fbf97dc45463dbf463a33642631a914c2aeae05 (patch)
treefcf79095eb5e300ce453d31ea0d2eea7ab25c558
parente47b2d674f0acd137412535647cb3072bf11dbb0 (diff)
board_f: powerpc: Drop unused headers
These includes don't seem to be needed now. Drop them. Reserve the mp.h header for PowerPC for now. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: York Sun <york.sun@nxp.com>
-rw-r--r--common/board_f.c18
1 files changed, 3 insertions, 15 deletions
diff --git a/common/board_f.c b/common/board_f.c
index bed09e2498..224fbed92f 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -22,21 +22,6 @@
#include <logbuff.h>
#include <malloc.h>
#include <mapmem.h>
-
-/* TODO: Can we move these into arch/ headers? */
-#ifdef CONFIG_8xx
-#include <mpc8xx.h>
-#endif
-#ifdef CONFIG_5xx
-#include <mpc5xx.h>
-#endif
-#ifdef CONFIG_MPC5xxx
-#include <mpc5xxx.h>
-#endif
-#if defined(CONFIG_MP) && (defined(CONFIG_MPC86xx) || defined(CONFIG_E500))
-#include <asm/mp.h>
-#endif
-
#include <os.h>
#include <post.h>
#include <relocate.h>
@@ -46,6 +31,9 @@
#include <trace.h>
#include <video.h>
#include <watchdog.h>
+#if defined(CONFIG_MP) && defined(CONFIG_PPC)
+#include <asm/mp.h>
+#endif
#include <asm/io.h>
#include <asm/sections.h>
#include <dm/root.h>