]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
nds32: add NDS32 support into common header file
authorMacpaul Lin <macpaul@andestech.com>
Wed, 19 Oct 2011 20:41:04 +0000 (20:41 +0000)
committerWolfgang Denk <wd@denx.de>
Fri, 21 Oct 2011 22:52:08 +0000 (00:52 +0200)
Add NDS32 support into common header file.

Signed-off-by: Macpaul Lin <macpaul@andestech.com>
include/common.h

index 4c3e3a68dce1d4b6577f0016aca383908f15ca76..e3ef66d8939bf9f2539d59bc5c9798b00ec08fa8 100644 (file)
@@ -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);