Recognize 'powerpc' As an Alias for IH_ARCH_PPC
authorGrant Erickson <gerickson@nuovations.com>
Sun, 4 May 2008 23:45:01 +0000 (16:45 -0700)
committerWolfgang Denk <wd@denx.de>
Fri, 9 May 2008 18:48:16 +0000 (20:48 +0200)
Add support for the recognition of 'powerpc' as an alias for the PowerPC
architecture type since Linux is already trending in that direction,
preferring 'powerpc' to 'ppc'.

Signed-off-by: Grant Erickson <gerickson@nuovations.com>
common/image.c

index 4a024d4dfb34552c0c46689b04cbece9fd3aefd2..051d298050fa7d87afe8c0b0367b0bda85b97f21 100644 (file)
@@ -93,6 +93,7 @@ static table_entry_t uimage_arch[] = {
        {       IH_ARCH_MIPS64,         "mips64",       "MIPS 64 Bit",  },
        {       IH_ARCH_NIOS,           "nios",         "NIOS",         },
        {       IH_ARCH_NIOS2,          "nios2",        "NIOS II",      },
+       {       IH_ARCH_PPC,            "powerpc",      "PowerPC",      },
        {       IH_ARCH_PPC,            "ppc",          "PowerPC",      },
        {       IH_ARCH_S390,           "s390",         "IBM S390",     },
        {       IH_ARCH_SH,             "sh",           "SuperH",       },