summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-17 14:23:01 (GMT)
committerTom Rini <trini@konsulko.com>2017-06-05 15:02:38 (GMT)
commitb885d02e2c3ebb05c723519d8f566cb409d223df (patch)
tree92d24d705d62d6cdb7cc49c343227098bb6b7d41 /include/common.h
parent5d9828563f80a1319e793166974dd6003dc1d941 (diff)
downloadu-boot-fsl-qoriq-b885d02e2c3ebb05c723519d8f566cb409d223df.tar.xz
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>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/common.h b/include/common.h
index c5cb65b..3004c22 100644
--- a/include/common.h
+++ b/include/common.h
@@ -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