From: czankel <chris@zankel.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] common: image: Allow mkimage to build a uImage for extensa
Date: Mon, 28 Apr 2014 21:55:56 -0700 [thread overview]
Message-ID: <535F30DC.3000404@zankel.net> (raw)
In-Reply-To: <1398746935-11855-1-git-send-email-festevam@gmail.com>
Hi Fabio,
Thanks for the patch, but the name is actually 'xtensa' (without the
'e'). Would be great if you could change that.
Thanks,
-Chris
On 4/28/14, 9:48 PM, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> Currently we get the following failure when trying to build a uImage for
> extensa:
>
> $ ./tools/mkimage -A xtensa
>
> Invalid CPU Type - valid names are: alpha, arm, x86, ia64, m68k, microblaze,
> mips, mips64, nios2, powerpc, ppc, s390, sh, sparc, sparc64, blackfin, avr32,
> nds32, or1k, sandbox, arm64
>
> Add an entry for extensa so that a uImage can be built.
>
> Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> common/image.c | 1 +
> include/image.h | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/common/image.c b/common/image.c
> index 9c6bec5..e0bdaf3 100644
> --- a/common/image.c
> +++ b/common/image.c
> @@ -83,6 +83,7 @@ static const table_entry_t uimage_arch[] = {
> { IH_ARCH_SANDBOX, "sandbox", "Sandbox", },
> { IH_ARCH_ARM64, "arm64", "AArch64", },
> { IH_ARCH_ARC, "arc", "ARC", },
> + { IH_ARCH_EXTENSA, "extensa", "EXTENSA", },
> { -1, "", "", },
> };
>
> diff --git a/include/image.h b/include/image.h
> index 6afd57b..7595745 100644
> --- a/include/image.h
> +++ b/include/image.h
> @@ -158,6 +158,7 @@ struct lmb;
> #define IH_ARCH_OPENRISC 21 /* OpenRISC 1000 */
> #define IH_ARCH_ARM64 22 /* ARM64 */
> #define IH_ARCH_ARC 23 /* Synopsys DesignWare ARC */
> +#define IH_ARCH_EXTENSA 24 /* Extensa */
>
> /*
> * Image Types
next prev parent reply other threads:[~2014-04-29 4:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-29 4:48 [U-Boot] [PATCH] common: image: Allow mkimage to build a uImage for extensa Fabio Estevam
2014-04-29 4:55 ` czankel [this message]
2014-04-29 10:24 ` Wolfgang Denk
2014-04-29 15:04 ` Fabio Estevam
2014-04-29 15:48 ` Wolfgang Denk
2014-04-29 15:52 ` Fabio Estevam
2014-04-30 1:57 ` Michael Ellerman
2014-04-30 18:05 ` Fabio Estevam
2014-04-29 17:11 ` Chris Zankel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=535F30DC.3000404@zankel.net \
--to=chris@zankel.net \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.