summaryrefslogtreecommitdiffstats
path: root/include/common.h
diff options
context:
space:
mode:
authorMacpaul Lin <macpaul@andestech.com>2011-10-19 20:41:04 +0000
committerWolfgang Denk <wd@denx.de>2011-10-22 00:52:08 +0200
commite70838444c7985ee91e79c2d824acb98a5fb8556 (patch)
treef136e7fd7b26ed6152fea9a2da4330b855d71996 /include/common.h
parent00f892fcc9726b8b299c1da2383fc9bf4a3618c5 (diff)
downloadblackbird-obmc-uboot-e70838444c7985ee91e79c2d824acb98a5fb8556.tar.gz
blackbird-obmc-uboot-e70838444c7985ee91e79c2d824acb98a5fb8556.zip
nds32: add NDS32 support into common header file
Add NDS32 support into common header file. Signed-off-by: Macpaul Lin <macpaul@andestech.com>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 4c3e3a68dc..e3ef66d893 100644
--- a/include/common.h
+++ b/include/common.h
@@ -314,6 +314,10 @@ int setenv (const char *, const char *);
#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);
OpenPOWER on IntegriCloud