[U-Boot-Users] [PATCH] Recognize 'powerpc' As an Alias for IH_ARCH_POWERPC

Grant Erickson gerickson at nuovations.com
Mon May 5 01:39:20 CEST 2008


On 5/4/08 4:04 PM, Wolfgang Denk wrote:
> In message <1209941611-7480-1-git-send-email-gerickson at nuovations.com> you
> wrote:
>> 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 at nuovations.com>
>> ---
>>  common/image.c |    1 +
>>  1 files changed, 1 insertions(+), 0 deletions(-)
>> 
>> diff --git a/common/image.c b/common/image.c
>> index 4a024d4..ecbf9d8 100644
>> --- a/common/image.c
>> +++ b/common/image.c
>> @@ -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_POWERPC, "powerpc", "PowerPC", },
>> { IH_ARCH_PPC,  "ppc",  "PowerPC", },
>> { IH_ARCH_S390,  "s390",  "IBM S390", },
>> { IH_ARCH_SH,  "sh",  "SuperH", },
> 
> Do we really want to do that? At least you have to provide some  user
> documentation,  when  to  chose one of the other, and what the diffe-
> rence between both is...

Meine Fehler. You are correct, we most certainly do NOT want to do that
(i.e. define IH_ARCH_POWERPC). That should* have been "IH_ARCH_PPC" such
that "powerpc" is truly an alias.

A corrected patch is forthcoming.

Regards,

Grant






More information about the U-Boot mailing list