From: Simon Glass Date: Fri, 7 Oct 2011 16:53:34 -0700 Subject: [U-Boot] [PATCH v5 03/20] sandbox: Add architecture image support In-Reply-To: <1318031631-13643-1-git-send-email-sjg@chromium.org> References: <1318031631-13643-1-git-send-email-sjg@chromium.org> Message-ID: <1318031631-13643-4-git-send-email-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de We won't actually load an image with this architecture, but we still need to define it. Signed-off-by: Simon Glass --- Changes in v3: - Add architecture image support for sandbox Changes in v5: - Define IH_ARCH_DEFAULT which is now required arch/sandbox/include/asm/u-boot.h | 3 +++ include/image.h | 1 + 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/sandbox/include/asm/u-boot.h b/arch/sandbox/include/asm/u-boot.h index 7d91847..166ef14 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 cca1cc5..b7caaa6 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 -- 1.7.3.1