All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] Add ARM11 MPCore CPU target support
Date: Sun, 27 Dec 2015 20:58:24 +0100	[thread overview]
Message-ID: <20151227195824.GJ3483@free.fr> (raw)
In-Reply-To: <BLU437-SMTP123CD239C2AFC2F2A7D66EC1020@phx.gbl>

Sergi, All,

On 2015-11-28 15:55 +0100, Sergi Granell spake thusly:
> gcc differentiates the mpcore-with-vfp from the mcpore-without-vfp
> CPUs. The former is named just 'mpcore', while the latter is named
> 'mpcorenovfp'.
> 
> We only add one entry, 'mpcore' and let the user select whether or
> not to use the VFP. We then name the CPU according to the user's
> selection.
> 
> Signed-off-by: Sergi Granell <xerpi.g.12@gmail.com>

Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[yann.morin.1998 at free.fr: build-tested only]
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  arch/Config.in.arm | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/arch/Config.in.arm b/arch/Config.in.arm
> index 67ff384..1bf1fe2 100644
> --- a/arch/Config.in.arm
> +++ b/arch/Config.in.arm
> @@ -104,6 +104,13 @@ config BR2_arm1176jzf_s
>  	select BR2_ARM_CPU_HAS_THUMB
>  	select BR2_ARM_CPU_ARMV6
>  	select BR2_ARCH_HAS_MMU_OPTIONAL
> +config BR2_arm11mpcore
> +	bool "mpcore"
> +	select BR2_ARM_CPU_HAS_ARM
> +	select BR2_ARM_CPU_MAYBE_HAS_VFPV2
> +	select BR2_ARM_CPU_HAS_THUMB
> +	select BR2_ARM_CPU_ARMV6
> +	select BR2_ARCH_HAS_MMU_OPTIONAL
>  config BR2_cortex_a5
>  	bool "cortex-A5"
>  	select BR2_ARM_CPU_HAS_ARM
> @@ -419,6 +426,8 @@ config BR2_GCC_TARGET_CPU
>  	default "arm1136jf-s"	if BR2_arm1136jf_s
>  	default "arm1176jz-s"	if BR2_arm1176jz_s
>  	default "arm1176jzf-s"	if BR2_arm1176jzf_s
> +	default "mpcore"	if BR2_arm11mpcore && BR2_ARM_CPU_HAS_VFPV2
> +	default "mpcorenovfp"	if BR2_arm11mpcore
>  	default "cortex-a5"	if BR2_cortex_a5
>  	default "cortex-a7"	if BR2_cortex_a7
>  	default "cortex-a8"	if BR2_cortex_a8
> -- 
> 2.6.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2015-12-27 19:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-28 14:55 [Buildroot] [PATCH 1/1] Add ARM11 MPCore CPU target support Sergi Granell
2015-12-27 19:58 ` Yann E. MORIN [this message]
2016-01-03 21:39   ` Peter Korsgaard
  -- strict thread matches above, loose matches on Subject: below --
2015-11-28  9:59 Sergi Granell
2015-11-28 14:30 ` Yann E. MORIN
2015-12-23 22:10   ` Thomas Petazzoni
2015-12-27 17:04     ` Yann E. MORIN
2015-12-27 17:50       ` Thomas Petazzoni

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=20151227195824.GJ3483@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /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.