nds32: add NDS32 support into common header file
Add NDS32 support into common header file.
Signed-off-by: Macpaul Lin <macpaul@andestech.com>
diff --git a/include/common.h b/include/common.h
index 4c3e3a6..e3ef66d 100644
--- a/include/common.h
+++ b/include/common.h
@@ -314,6 +314,10 @@
#ifdef CONFIG_SANDBOX
# include <asm/u-boot-sandbox.h> /* TODO(sjg) what needs to be fixed? */
#endif
+#ifdef CONFIG_NDS32
+# include <asm/mach-types.h>
+# include <asm/u-boot-nds32.h>
+#endif /* CONFIG_NDS32 */
#ifdef CONFIG_AUTO_COMPLETE
int env_complete(char *var, int maxv, char *cmdv[], int maxsz, char *buf);