summaryrefslogtreecommitdiff
path: root/board/AndesTech
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-17 08:22:57 -0600
committerTom Rini <trini@konsulko.com>2017-06-05 11:02:36 -0400
commit3a53e99c7de155d8c5e057d9fda1939b60e18a2f (patch)
tree745412c21100d52e8823a80388a28bcb46d7a69c /board/AndesTech
parent3ff240c92f516841d8aff3b7d9268763711f2afd (diff)
nds32: Remove include files from common.h
With a few tweaks we can avoid including these files, which are only needed by two C files. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/AndesTech')
-rw-r--r--board/AndesTech/adp-ag101p/adp-ag101p.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/AndesTech/adp-ag101p/adp-ag101p.c b/board/AndesTech/adp-ag101p/adp-ag101p.c
index a462941448..79608f4efe 100644
--- a/board/AndesTech/adp-ag101p/adp-ag101p.c
+++ b/board/AndesTech/adp-ag101p/adp-ag101p.c
@@ -11,6 +11,8 @@
#include <netdev.h>
#endif
#include <linux/io.h>
+#include <asm/io.h>
+#include <asm/mach-types.h>
#include <faraday/ftsdc010.h>
#include <faraday/ftsmc020.h>