All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v1] ARM: dts: Makefile: Use board to decide to compile dts
Date: Mon, 19 Sep 2016 15:38:36 +0200	[thread overview]
Message-ID: <57DFEA5C.4010101@denx.de> (raw)
In-Reply-To: <1474184422-13547-1-git-send-email-wenyou.yang@atmel.com>

Hello Wenyou Yang,

Am 18.09.2016 um 09:40 schrieb Wenyou Yang:
> To avoid to compile all AT91 SoCs' board dts files, use the board
> to decide to build its corresponding dts, instead of
> CONFIG_AT91FAMILY.
>
> Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
> ---
>
>   arch/arm/dts/Makefile | 8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)

Reviewed-by: Heiko Schocher <hs@denx.de>

bye,
Heiko
>
> diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
> index 223124e..2ac1f20 100644
> --- a/arch/arm/dts/Makefile
> +++ b/arch/arm/dts/Makefile
> @@ -2,10 +2,10 @@
>   # SPDX-License-Identifier:	GPL-2.0+
>   #
>
> -dtb-$(CONFIG_AT91FAMILY) += at91sam9260-smartweb.dtb \
> -	at91sam9g20-taurus.dtb \
> -	at91sam9g45-corvus.dtb \
> -	at91sam9g45-gurnard.dtb
> +dtb-$(CONFIG_TARGET_SMARTWEB) += at91sam9260-smartweb.dtb
> +dtb-$(CONFIG_TARGET_TAURUS) += at91sam9g20-taurus.dtb
> +dtb-$(CONFIG_TARGET_CORVUS) += at91sam9g45-corvus.dtb
> +dtb-$(CONFIG_TARGET_GURNARD) += at91sam9g45-gurnard.dtb
>
>   dtb-$(CONFIG_S5PC100) += s5pc1xx-smdkc100.dtb
>   dtb-$(CONFIG_S5PC110) += s5pc1xx-goni.dtb
>

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

  reply	other threads:[~2016-09-19 13:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-18  7:40 [U-Boot] [PATCH v1] ARM: dts: Makefile: Use board to decide to compile dts Wenyou Yang
2016-09-19 13:38 ` Heiko Schocher [this message]
2016-09-23  4:16 ` Simon Glass
2016-09-23  6:01   ` Wenyou.Yang at microchip.com

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=57DFEA5C.4010101@denx.de \
    --to=hs@denx.de \
    --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.