Commit e8d4fa9057c4d121d3c4c9f2f49cf07e22fb9ee2

Authored by Simon Glass
Committed by Tom Rini
1 parent a320acc419

nds32: Make u-boot-nds32.h a private header

Rather than including this arch-specific header file in common.h, include
it from within nds32's u-boot.h header.

Signed-off-by: Simon Glass <sjg@chromium.org>

Showing 2 changed files with 3 additions and 1 deletions Side-by-side Diff

arch/nds32/include/asm/u-boot.h
... ... @@ -20,6 +20,8 @@
20 20 #ifndef _U_BOOT_H_
21 21 #define _U_BOOT_H_ 1
22 22  
  23 +#include <asm/u-boot-nds32.h>
  24 +
23 25 #include <environment.h>
24 26  
25 27 typedef struct bd_info {
... ... @@ -439,7 +439,7 @@
439 439 #ifdef CONFIG_NDS32
440 440 # include <asm/mach-types.h>
441 441 # include <asm/setup.h>
442   -# include <asm/u-boot-nds32.h>
  442 +# include <asm/u-boot.h>
443 443 #endif /* CONFIG_NDS32 */
444 444 #ifdef CONFIG_MIPS
445 445 # include <asm/u-boot.h>