[U-Boot-Users] [PATCH] 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'.
Signed-off-by: Grant Erickson gerickson@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", },

In message 1209941611-7480-1-git-send-email-gerickson@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@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

On 5/4/08 4:04 PM, Wolfgang Denk wrote:
In message 1209941611-7480-1-git-send-email-gerickson@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@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

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 ---
diff --git a/common/image.c b/common/image.c index 4a024d4..051d298 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_PPC, "powerpc", "PowerPC", }, { IH_ARCH_PPC, "ppc", "PowerPC", }, { IH_ARCH_S390, "s390", "IBM S390", }, { IH_ARCH_SH, "sh", "SuperH", }, -- 1.5.4.3

In message 1209944701-8707-1-git-send-email-gerickson@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@nuovations.com
Applied, thanks.
Best regards,
Wolfgang Denk
participants (2)
-
Grant Erickson
-
Wolfgang Denk