openrisc: Add architecture image support
authorStefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Sat, 26 Nov 2011 19:04:50 +0000 (19:04 +0000)
committerWolfgang Denk <wd@denx.de>
Fri, 13 Jan 2012 20:16:40 +0000 (21:16 +0100)
Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
common/image.c
include/image.h

index 77ca6e4705777aa77dca3040c77cede2d1b9b746..202c8a1ca8fc4aaac093700ce8690d81f3708686 100644 (file)
@@ -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,                     "",             "",             },
 };
 
index 466c98018fdc8f93b89cb4ebe4ad1853c6673e2c..bbf80f0cac998accfc3f2a5a3e5f64540c11a226 100644 (file)
 #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