From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Erickson Date: Sun, 04 May 2008 16:39:20 -0700 Subject: [U-Boot-Users] [PATCH] Recognize 'powerpc' As an Alias for IH_ARCH_POWERPC In-Reply-To: <20080504230425.D26502477F@gemini.denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 >> --- >> 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