From: Simon Glass Date: Fri, 7 Oct 2011 13:53:34 +0000 (+0000) Subject: sandbox: Add architecture image support X-Git-Tag: v2011.12-rc1~512^2~20 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=65bf1d39f41b4e754a79122d45d6ba61fd9a9513;p=u-boot sandbox: Add architecture image support We won't actually load an image with this architecture, but we still need to define it. Signed-off-by: Simon Glass --- diff --git a/arch/sandbox/include/asm/u-boot.h b/arch/sandbox/include/asm/u-boot.h index 7d918478d8..166ef14341 100644 --- a/arch/sandbox/include/asm/u-boot.h +++ b/arch/sandbox/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_SANDBOX + #endif /* _U_BOOT_H_ */ diff --git a/include/image.h b/include/image.h index cca1cc533c..b7caaa625a 100644 --- a/include/image.h +++ b/include/image.h @@ -106,6 +106,7 @@ #define IH_ARCH_BLACKFIN 16 /* Blackfin */ #define IH_ARCH_AVR32 17 /* AVR32 */ #define IH_ARCH_ST200 18 /* STMicroelectronics ST200 */ +#define IH_ARCH_SANDBOX 19 /* Sandbox architecture (test only) */ /* * Image Types