From: Simon Glass <sjg@chromium.org> Date: Fri, 31 Mar 2017 14:40:39 +0000 (-0600) Subject: board_f: powerpc: Drop unused headers X-Git-Tag: v2025.01-rc5-pxa1908~7256 X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/login.html?a=commitdiff_plain;h=1fbf97dc45463dbf463a33642631a914c2aeae05;p=u-boot.git 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> --- 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>