[PATCH] ARM: mach-shmobile: Add compilation support for dtbs using 'make dtbs'

Tetsuyuki Kobayashi koba at kmckk.co.jp
Mon Aug 27 21:00:08 EDT 2012


Simon-san,

(2012/08/28 9:27), Stephen Boyd wrote:
> On 8/27/2012 5:22 PM, Simon Horman wrote:
>> +dtb-$(CONFIG_MACH_KZM9D) += emev2-kzm9d.dts
>> +dtb-$(CONFIG_MACH_ARMADILLO800EVA) += r8a7740-armadillo800eva.dts
>
> Shouldn't these be dtb instead of dts?
>

Please use my v2 patch.
I paste v2 patch here. (It was posted on 2012/07/23)

==============================================================
From: Tetsuyuki Kobayashi <koba at kmckk.co.jp>

Add compilation support for dtbs using 'make dtbs'

Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj at renesas.com>
Cc: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
Cc: Simon Horman <horms at verge.net.au>
Signed-off-by: Tetsuyuki Kobayashi <koba at kmckk.co.jp>
---
Sorry, I found mistake. it should be dtb insted of dts.

Changes for v2
- replace dts to dtb in the 3rd and 4th line of patch.

  arch/arm/mach-shmobile/Makefile.boot |    4 ++++
  1 file changed, 4 insertions(+)

diff --git a/arch/arm/mach-shmobile/Makefile.boot 
b/arch/arm/mach-shmobile/Makefile.boot
index 498efd9..5e41019 100644
--- a/arch/arm/mach-shmobile/Makefile.boot
+++ b/arch/arm/mach-shmobile/Makefile.boot
@@ -7,3 +7,7 @@ __ZRELADDR	:= $(shell /bin/bash -c 'printf "0x%08x" \
  #
  #params_phys-y (Instead: Pass atags pointer in r2)
  #initrd_phys-y (Instead: Use compiled-in initramfs)
+
+dtb-$(CONFIG_MACH_KZM9G) += sh73a0-kzm9g.dtb
+dtb-$(CONFIG_MACH_KZM9D) += emev2-kzm9d.dtb
+dtb-$(CONFIG_MACH_ARMADILLO800EVA) += r8a7740-armadillo800eva.dtb
-- 1.7.9.5



More information about the linux-arm-kernel mailing list