diff mbox

[U-Boot,7/7] x86: use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE

Message ID 1451223875-20914-7-git-send-email-thomas@wytron.com.tw
State Superseded
Delegated to: Simon Glass
Headers show

Commit Message

Thomas Chou Dec. 27, 2015, 1:44 p.m. UTC
Use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE, so that
there is no need to list all the dtb for different targets/boards.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Cc: Bin Meng <bmeng.cn@gmail.com>
---
 arch/x86/dts/Makefile | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

Comments

Bin Meng Dec. 28, 2015, 2:16 a.m. UTC | #1
On Sun, Dec 27, 2015 at 9:44 PM, Thomas Chou <thomas@wytron.com.tw> 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.
>
> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
> Cc: Bin Meng <bmeng.cn@gmail.com>
> ---
>  arch/x86/dts/Makefile | 11 +----------
>  1 file changed, 1 insertion(+), 10 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
diff mbox

Patch

diff --git a/arch/x86/dts/Makefile b/arch/x86/dts/Makefile
index 64e5694..f22fabf 100644
--- a/arch/x86/dts/Makefile
+++ b/arch/x86/dts/Makefile
@@ -2,16 +2,7 @@ 
 # SPDX-License-Identifier:	GPL-2.0+
 #
 
-dtb-y += bayleybay.dtb \
-	chromebook_link.dtb \
-	chromebox_panther.dtb \
-	crownbay.dtb \
-	efi.dtb \
-	galileo.dtb \
-	minnowmax.dtb \
-	qemu-x86_i440fx.dtb \
-	qemu-x86_q35.dtb \
-	broadwell_som-6896.dtb
+dtb-y += $(CONFIG_DEFAULT_DEVICE_TREE:"%"=%).dtb
 
 targets += $(dtb-y)