diff mbox

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

Message ID 1319092871-28135-2-git-send-email-macpaul@andestech.com
State Accepted
Commit e70838444c7985ee91e79c2d824acb98a5fb8556
Headers show

Commit Message

Macpaul Lin Oct. 20, 2011, 6:41 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-v16:
  - No change
Changes for v17:
  - Fix for arch Sandbox has been committed.

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

Comments

Wolfgang Denk Oct. 21, 2011, 10:52 p.m. UTC | #1
Dear Macpaul Lin,

In message <1319092871-28135-2-git-send-email-macpaul@andestech.com> you wrote:
> 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-v16:
>   - No change
> Changes for v17:
>   - Fix for arch Sandbox has been committed.
> 
>  include/common.h |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk
diff mbox

Patch

diff --git a/include/common.h b/include/common.h
index 4c3e3a6..e3ef66d 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);