diff mbox

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

Message ID 1288071118-28119-2-git-send-email-macpaul@andestech.com
State Superseded
Delegated to: Macpaul Lin
Headers show

Commit Message

Macpaul Lin Oct. 26, 2010, 5:31 a.m. UTC
Add NDS32 support into common header file.

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

Patch

diff --git a/include/common.h b/include/common.h
index 6a79ec2..1f3bc32 100644
--- a/include/common.h
+++ b/include/common.h
@@ -274,6 +274,10 @@  void	forceenv     (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);