Skip to contentSkip to conversation

Recognize 'powerpc' As an Alias for IH_ARCH_POWERPC

PATCH New Grant Erickson 2 participants 5 messages May 4, 2008 – May 9, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Recognize 'powerpc' As an Alias for IH_ARCH_POWERPC

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

---
 common/image.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
common/image.c +1 -0
index 4a024d4..ecbf9d8 100644
@@ -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",	},
Signature · 1 line
1.5.4.3
#1 lore raw

PATCH 1/1 Recognize 'powerpc' As an Alias for IH_ARCH_POWERPC

Quoted 14 lines · In message <[email protected]> you…

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

---
 common/image.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
common/image.c +0 -0
index 4a024d4..ecbf9d8 100644

common/image.c static table_entry_t uimage_arch[] = { · line 99

Quoted 7 lines
common/image.c +1 -0
@@ -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

Signature · 5 lines
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.
#2 lore raw

PATCH 1/1 Recognize 'powerpc' As an Alias for IH_ARCH_POWERPC

Quoted 11 lines · Wolfgang Denk

In message <[email protected]> you

Quoted 9 lines · 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'.

---
 common/image.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Quoted 16 lines

common/image.c static table_entry_t uimage_arch[] = { · line 99

Quoted 12 lines
common/image.c +1 -0
index 4a024d4..ecbf9d8 100644
@@ -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

#3 lore raw

PATCH v2 1/1 Recognize 'powerpc' As an Alias for IH_ARCH_PPC

In reply to Grant Erickson

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

---

common/image.c +1 -0
index 4a024d4..051d298 100644
@@ -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",	},

--
1.5.4.3

#4 lore raw

PATCH v2 1/1 Recognize 'powerpc' As an Alias for IH_ARCH_PPC

Quoted 6 lines · In message <[email protected]> you…

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

---

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
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
"Out of register space (ugh)"
- vi