Skip to content
Snippets Groups Projects
Commit b885d02e authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

arm: Remove include files from common.h


With a small tweak we can avoid including these files for all boards.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent 5d982856
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -425,12 +425,6 @@ static inline int setenv_addr(const char *varname, const void *addr)
return setenv_hex(varname, (ulong)addr);
}
#ifdef CONFIG_ARM
# include <asm/mach-types.h>
# include <asm/setup.h>
# include <asm/u-boot.h>
#endif /* CONFIG_ARM */
#ifdef CONFIG_AUTO_COMPLETE
int env_complete(char *var, int maxv, char *cmdv[], int maxsz, char *buf);
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment