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

Wolfgang Denk wd at denx.de
Mon May 5 01:04:25 CEST 2008


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...

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
All a hacker needs is a tight PUSHJ, a loose pair of UUOs, and a warm
place to shift.




More information about the U-Boot mailing list