]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
sandbox: Add architecture image support
authorSimon Glass <sjg@chromium.org>
Fri, 7 Oct 2011 13:53:34 +0000 (13:53 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 17 Oct 2011 20:46:38 +0000 (22:46 +0200)
We won't actually load an image with this architecture, but we still need to
define it.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/include/asm/u-boot.h
include/image.h

index 7d918478d8121b91614555a58911ad9e8f7fa839..166ef14341f811989e99dbf29a87798647a10131 100644 (file)
@@ -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_ */
index cca1cc533c586e21c2a82f22d316092e084abafd..b7caaa625a88b65a767fa9a60aa5a73cc289e86a 100644 (file)
 #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