From 1fbf97dc45463dbf463a33642631a914c2aeae05 Mon Sep 17 00:00:00 2001 From: Simon Glass <sjg@chromium.org> Date: Fri, 31 Mar 2017 08:40:39 -0600 Subject: [PATCH] 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> --- common/board_f.c | 18 +++--------------- 1 file 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> -- 2.39.5