mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-29 08:00:26 +09:00
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>
This commit is contained in:
parent
5d9828563f
commit
b885d02e2c
@ -31,6 +31,9 @@
|
|||||||
#include <trace.h>
|
#include <trace.h>
|
||||||
#include <video.h>
|
#include <video.h>
|
||||||
#include <watchdog.h>
|
#include <watchdog.h>
|
||||||
|
#ifdef CONFIG_MACH_TYPE
|
||||||
|
#include <asm/mach-types.h>
|
||||||
|
#endif
|
||||||
#if defined(CONFIG_MP) && defined(CONFIG_PPC)
|
#if defined(CONFIG_MP) && defined(CONFIG_PPC)
|
||||||
#include <asm/mp.h>
|
#include <asm/mp.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -425,12 +425,6 @@ static inline int setenv_addr(const char *varname, const void *addr)
|
|||||||
return setenv_hex(varname, (ulong)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
|
#ifdef CONFIG_AUTO_COMPLETE
|
||||||
int env_complete(char *var, int maxv, char *cmdv[], int maxsz, char *buf);
|
int env_complete(char *var, int maxv, char *cmdv[], int maxsz, char *buf);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user