From 476af299b04ef07117bbc3cdef07885e1089967e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 3 Oct 2011 14:50:33 +0000 Subject: 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 Tested-by: Thomas Chou Signed-off-by: Mike Frysinger --- arch/nios2/include/asm/u-boot.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/nios2') diff --git a/arch/nios2/include/asm/u-boot.h b/arch/nios2/include/asm/u-boot.h index ec844d0401..f7c70ff0c1 100644 --- a/arch/nios2/include/asm/u-boot.h +++ b/arch/nios2/include/asm/u-boot.h @@ -43,5 +43,7 @@ typedef struct bd_info { unsigned long bi_baudrate; /* Console Baudrate */ } bd_t; +/* For image.h:image_check_target_arch() */ +#define IH_ARCH_DEFAULT IH_ARCH_NIOS2 #endif /* __ASM_NIOS2_U_BOOT_H_ */ -- cgit v1.2.1