diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-04-30 02:34:18 +0900 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-05-04 08:34:16 +0200 |
commit | 2665fd16d0aa0f19602585de8d865a52a0cdf12a (patch) | |
tree | 911b933ce0eb7a0325998132f46e805fd07feb79 /common | |
parent | 1fa5a769664d91fd02ca72bba844289448907961 (diff) | |
download | barebox-2665fd16d0aa0f19602585de8d865a52a0cdf12a.tar.gz barebox-2665fd16d0aa0f19602585de8d865a52a0cdf12a.tar.xz |
image: support 'powerpc' for mkimage architecture
Currently, the -A option of mkimage is determined based on $(SRCARCH).
I want to rename arch/ppc/ to arch/powerpc/.
Support 'powerpc' for the -A option of mkimage beforehand, otherwise
the barebox.uimage build would be broken.
common/image.c in U-Boot supports both 'powerpc' and 'ppc' for the
name of IH_ARCH_PPC. Let's do likewise in barebox.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r-- | common/image.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/image.c b/common/image.c index 04cd86bf9a..fc10ce5fd9 100644 --- a/common/image.c +++ b/common/image.c @@ -50,6 +50,7 @@ static table_entry_t arch_name[] = { { 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", }, |