All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@xilinx.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 6/9] microblaze: use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE
Date: Wed, 6 Jan 2016 08:46:26 +0100	[thread overview]
Message-ID: <568CC652.6020601@xilinx.com> (raw)
In-Reply-To: <1452044972-17992-6-git-send-email-thomas@wytron.com.tw>

On 6.1.2016 02:49, Thomas Chou wrote:
> Use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE, so that
> there is no need to list all the dtb for different targets/boards
> in Makefile.
> 
> Support list of Device Tree in DEFAULT_DEVICE_TREE. Each DT in the
> list will be compiled. The first will be used as default to ship.
> 
> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
> Cc: Michal Simek <michal.simek@xilinx.com>
> ---
> v2
>   add list support as Simon suggested.
> 
>  arch/microblaze/dts/Makefile | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/microblaze/dts/Makefile b/arch/microblaze/dts/Makefile
> index 5e70d9e..eaeb26f 100644
> --- a/arch/microblaze/dts/Makefile
> +++ b/arch/microblaze/dts/Makefile
> @@ -2,7 +2,8 @@
>  # SPDX-License-Identifier:	GPL-2.0+
>  #
>  
> -dtb-y += microblaze-generic.dtb
> +DEVICE_TREE_LIST ?= $(subst $\",,$(CONFIG_DEFAULT_DEVICE_TREE))
> +dtb-y += $(DEVICE_TREE_LIST:=.dtb)
>  
>  targets += $(dtb-y)
>  
> 

Acked-by: Michal Simek <michal.simek@xilinx.com>

Thanks,
Michal

  reply	other threads:[~2016-01-06  7:46 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-27 13:44 [U-Boot] [PATCH 1/7] devicetree: use wildcard to clean arch subdir Thomas Chou
2015-12-27 13:44 ` [U-Boot] [PATCH 2/7] arc: use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE Thomas Chou
2015-12-28  2:16   ` Bin Meng
2016-01-11 11:06     ` Alexey Brodkin
2015-12-27 13:44 ` [U-Boot] [PATCH 3/7] arm: " Thomas Chou
2015-12-28  2:16   ` Bin Meng
2015-12-29  0:22     ` Simon Glass
2015-12-29  0:55       ` Thomas Chou
2016-01-05  0:56         ` Simon Glass
2016-01-05 13:16           ` Thomas Chou
2016-01-06  0:24             ` Simon Glass
2016-01-06  1:57               ` Thomas Chou
2016-01-06  2:22                 ` Masahiro Yamada
2016-01-06  2:38                   ` Thomas Chou
2015-12-27 13:44 ` [U-Boot] [PATCH 4/7] microblaze: " Thomas Chou
2015-12-28  2:16   ` Bin Meng
2016-01-04  9:15     ` Michal Simek
2015-12-27 13:44 ` [U-Boot] [PATCH 5/7] powerpc: " Thomas Chou
2015-12-28  2:16   ` Bin Meng
2015-12-27 13:44 ` [U-Boot] [PATCH 6/7] sandbox: " Thomas Chou
2015-12-28  2:16   ` Bin Meng
2015-12-27 13:44 ` [U-Boot] [PATCH 7/7] x86: " Thomas Chou
2015-12-28  2:16   ` Bin Meng
2015-12-28  2:16 ` [U-Boot] [PATCH 1/7] devicetree: use wildcard to clean arch subdir Bin Meng
2016-01-06  1:49 ` [U-Boot] [PATCH v2 1/9] " Thomas Chou
2016-01-06  1:49   ` [U-Boot] [PATCH v2 2/9] devicetree: support list of Device Tree in DEFAULT_DEVICE_TREE Thomas Chou
2016-01-08  3:34     ` Simon Glass
2016-01-06  1:49   ` [U-Boot] [PATCH v2 3/9] nios2: " Thomas Chou
2016-01-06  1:49   ` [U-Boot] [PATCH v2 4/9] arc: use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE Thomas Chou
2016-01-06  1:49   ` [U-Boot] [PATCH v2 5/9] arm: " Thomas Chou
2016-01-06  1:49   ` [U-Boot] [PATCH v2 6/9] microblaze: " Thomas Chou
2016-01-06  7:46     ` Michal Simek [this message]
2016-01-06  1:49   ` [U-Boot] [PATCH v2 7/9] powerpc: " Thomas Chou
2016-01-06  1:49   ` [U-Boot] [PATCH v2 8/9] sandbox: " Thomas Chou
2016-01-06  1:49   ` [U-Boot] [PATCH v2 9/9] x86: " Thomas Chou
2016-01-13 20:10   ` [U-Boot] [PATCH v2 1/9] devicetree: use wildcard to clean arch subdir Simon Glass

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=568CC652.6020601@xilinx.com \
    --to=michal.simek@xilinx.com \
    --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.