diff mbox

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

Message ID 1315362440-23213-2-git-send-email-macpaul@andestech.com
State Changes Requested, archived
Delegated to: Tom Rini
Headers show

Commit Message

Macpaul Lin Sept. 7, 2011, 2:27 a.m. UTC
Add NDS32 support into common header file.

Signed-off-by: Macpaul Lin <macpaul@andestech.com>
---
Changes for v1-v7:
  - No change
Changes for v8:
  - Fix the patch according to dependency of x86's Fix
Changes for v9-v12:
  - No change

 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 bd10f31..bf36b2f 100644
--- a/include/common.h
+++ b/include/common.h
@@ -281,6 +281,10 @@  int	setenv	     (const char *, const char *);
 #ifdef CONFIG_X86		/* x86 version to be fixed! */
 # include <asm/u-boot-x86.h>
 #endif /* CONFIG_X86 */
+#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);