summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-10-03 14:50:33 +0000
committerWolfgang Denk <wd@denx.de>2011-10-05 22:22:15 +0200
commit476af299b04ef07117bbc3cdef07885e1089967e (patch)
tree35850ad55638bb36454cde8520af022f5ef4f15b /arch/x86
parentc13f47b0d77aee8e6c04ab104d79785ac110623d (diff)
downloadu-boot-imx-476af299b04ef07117bbc3cdef07885e1089967e.zip
u-boot-imx-476af299b04ef07117bbc3cdef07885e1089967e.tar.gz
u-boot-imx-476af299b04ef07117bbc3cdef07885e1089967e.tar.bz2
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/x86')
-rw-r--r--arch/x86/include/asm/u-boot.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/include/asm/u-boot.h b/arch/x86/include/asm/u-boot.h
index a43b3aa..26450eb 100644
--- a/arch/x86/include/asm/u-boot.h
+++ b/arch/x86/include/asm/u-boot.h
@@ -58,4 +58,7 @@ typedef struct bd_info {
}bi_dram[CONFIG_NR_DRAM_BANKS];
} bd_t;
+/* For image.h:image_check_target_arch() */
+#define IH_ARCH_DEFAULT IH_ARCH_I386
+
#endif /* _U_BOOT_H_ */