summaryrefslogtreecommitdiff
path: root/arch/sandbox
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-10-07 13:53:34 +0000
committerWolfgang Denk <wd@denx.de>2011-10-17 22:46:38 +0200
commit65bf1d39f41b4e754a79122d45d6ba61fd9a9513 (patch)
tree44095230f63175befca4b50d0a1dba54d9f95511 /arch/sandbox
parent0ec2ce4a67bdc62425e3f2a7daaa242002f31060 (diff)
downloadu-boot-imx-65bf1d39f41b4e754a79122d45d6ba61fd9a9513.zip
u-boot-imx-65bf1d39f41b4e754a79122d45d6ba61fd9a9513.tar.gz
u-boot-imx-65bf1d39f41b4e754a79122d45d6ba61fd9a9513.tar.bz2
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 <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/include/asm/u-boot.h3
1 files changed, 3 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_ */