diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-10-03 14:50:33 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-10-05 20:22:15 (GMT) |
commit | 476af299b04ef07117bbc3cdef07885e1089967e (patch) | |
tree | 35850ad55638bb36454cde8520af022f5ef4f15b /arch/avr32/include/asm | |
parent | c13f47b0d77aee8e6c04ab104d79785ac110623d (diff) | |
download | u-boot-476af299b04ef07117bbc3cdef07885e1089967e.tar.xz |
image: push default arch values to arch headers
This pushes the ugly duplicated arch ifdef lists we maintain in various
image related files out to the arch headers themselves.
Acked-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Tested-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/avr32/include/asm')
-rw-r--r-- | arch/avr32/include/asm/u-boot.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/avr32/include/asm/u-boot.h b/arch/avr32/include/asm/u-boot.h index 8acd056..ff1ed23 100644 --- a/arch/avr32/include/asm/u-boot.h +++ b/arch/avr32/include/asm/u-boot.h @@ -40,4 +40,7 @@ typedef struct bd_info { #define bi_memstart bi_dram[0].start #define bi_memsize bi_dram[0].size +/* For image.h:image_check_target_arch() */ +#define IH_ARCH_DEFAULT IH_ARCH_AVR32 + #endif /* __ASM_U_BOOT_H__ */ |