Add OpenRISC Image type
This patch sync the image type list with the kernel in order to add openrisc support. Signed-off-by: Franck Jullien <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
9a5963dfd8
commit
83507f2891
|
@ -61,6 +61,8 @@ static table_entry_t arch_name[] = {
|
|||
{ IH_ARCH_SPARC64, "sparc64", "SPARC 64 Bit", },
|
||||
{ IH_ARCH_BLACKFIN, "blackfin", "Blackfin", },
|
||||
{ IH_ARCH_AVR32, "avr32", "AVR32", },
|
||||
{ IH_ARCH_NDS32, "nds32", "NDS32", },
|
||||
{ IH_ARCH_OPENRISC, "or1k", "OpenRISC 1000",},
|
||||
{ -1, "", "", },
|
||||
};
|
||||
|
||||
|
|
|
@ -85,6 +85,9 @@
|
|||
#define IH_ARCH_BLACKFIN 16 /* Blackfin */
|
||||
#define IH_ARCH_AVR32 17 /* AVR32 */
|
||||
#define IH_ARCH_LINUX 18 /* Linux */
|
||||
#define IH_ARCH_SANDBOX 19 /* Sandbox architecture (test only) */
|
||||
#define IH_ARCH_NDS32 20 /* ANDES Technology - NDS32 */
|
||||
#define IH_ARCH_OPENRISC 21 /* OpenRISC 1000 */
|
||||
|
||||
#if defined(__PPC__)
|
||||
#define IH_ARCH IH_ARCH_PPC
|
||||
|
@ -102,6 +105,8 @@
|
|||
#define IH_ARCH IH_ARCH_MICROBLAZE
|
||||
#elif defined(__nios2__)
|
||||
#define IH_ARCH IH_ARCH_NIOS2
|
||||
#elif defined(__OR1K__)
|
||||
#define IH_ARCH IH_ARCH_OPENRISC
|
||||
#elif defined(__blackfin__)
|
||||
#define IH_ARCH IH_ARCH_BLACKFIN
|
||||
#elif defined(__avr32__)
|
||||
|
|
Loading…
Reference in New Issue