From e70838444c7985ee91e79c2d824acb98a5fb8556 Mon Sep 17 00:00:00 2001
From: Macpaul Lin <macpaul@andestech.com>
Date: Wed, 19 Oct 2011 20:41:04 +0000
Subject: [PATCH] nds32: add NDS32 support into common header file

Add NDS32 support into common header file.

Signed-off-by: Macpaul Lin <macpaul@andestech.com>
---
 include/common.h | 4 ++++
 1 file changed, 4 insertions(+)

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);
-- 
2.39.5