summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kristiansson <stefan.kristiansson@saunalahti.fi>2011-11-26 19:04:50 +0000
committerWolfgang Denk <wd@denx.de>2012-01-13 21:16:40 +0100
commit3ddcaccda3824e1c7f7266d543e4c0eb3ea9851c (patch)
tree91506f18ecc79c75e3f238c99fd3d6109e9ce956
parentca9d3ab5c7e12929d1c64e3618bbd30e1ed2ea70 (diff)
downloadu-boot-imx-3ddcaccda3824e1c7f7266d543e4c0eb3ea9851c.zip
u-boot-imx-3ddcaccda3824e1c7f7266d543e4c0eb3ea9851c.tar.gz
u-boot-imx-3ddcaccda3824e1c7f7266d543e4c0eb3ea9851c.tar.bz2
openrisc: Add architecture image support
Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
-rw-r--r--common/image.c1
-rw-r--r--include/image.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/common/image.c b/common/image.c
index 77ca6e4..202c8a1 100644
--- a/common/image.c
+++ b/common/image.c
@@ -94,6 +94,7 @@ static const table_entry_t uimage_arch[] = {
{ IH_ARCH_BLACKFIN, "blackfin", "Blackfin", },
{ IH_ARCH_AVR32, "avr32", "AVR32", },
{ IH_ARCH_NDS32, "nds32", "NDS32", },
+ { IH_ARCH_OPENRISC, "or1k", "OpenRISC 1000",},
{ -1, "", "", },
};
diff --git a/include/image.h b/include/image.h
index 466c980..bbf80f0 100644
--- a/include/image.h
+++ b/include/image.h
@@ -108,6 +108,7 @@
#define IH_ARCH_ST200 18 /* STMicroelectronics ST200 */
#define IH_ARCH_SANDBOX 19 /* Sandbox architecture (test only) */
#define IH_ARCH_NDS32 20 /* ANDES Technology - NDS32 */
+#define IH_ARCH_OPENRISC 21 /* OpenRISC 1000 */
/*
* Image Types