Patchwork [U-Boot,v2,1/2] nds32: add NDS32 support into common header file

login
register
mail settings
Submitter Macpaul Lin
Date Nov. 19, 2010, 6:06 a.m.
Message ID <1290146789-27310-1-git-send-email-macpaul@andestech.com>
Download mbox | patch
Permalink /patch/72218/
State Superseded
Headers show

Comments

Macpaul Lin - Nov. 19, 2010, 6:06 a.m.
Add NDS32 support into common header file.

Signed-off-by: Macpaul Lin <macpaul@andestech.com>
---
Changes for v2:
   - This files has no change.

 include/common.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Patch

diff --git a/include/common.h b/include/common.h
index 189ad81..d7c452a 100644
--- a/include/common.h
+++ b/include/common.h
@@ -273,6 +273,10 @@  int	setenv	     (char *, char *);
 #ifdef CONFIG_I386		/* x86 version to be fixed! */
 # include <asm/u-boot-i386.h>
 #endif /* CONFIG_I386 */
+#ifdef CONFIG_NDS32
+# include <asm/mach-types.h>
+# include <asm/u-boot-nds32.h>	/* NDS32 version to be fixed! */
+#endif /* CONFIG_NDS32 */
 
 #ifdef CONFIG_AUTO_COMPLETE
 int env_complete(char *var, int maxv, char *cmdv[], int maxsz, char *buf);