Skip to contentSkip to conversation

ARM: sunxi: dt: build DTs according to new MACH_SUNxI Kconfig symbols

PATCH New Chen-Yu Tsai 2 participants 2 messages May 17, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: sunxi: dt: build DTs according to new MACH_SUNxI Kconfig symbols

Allwinner sunxi support has been split into the various SoCs in Kconfig. Adapt the new symbols for the device trees.

---

Hi,

This patch lets us build the DTBs according to the SoCs we selected in kernel config. This matches the build behavior of the kernel itself after splitting up sunxi support to various SoCs in Kconfig.

Maxime, could you take this?

Cheers
ChenYu

---
 arch/arm/boot/dts/Makefile | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
arch/arm/boot/dts/Makefile +7 -4
index 1d9c50d..9db0b9d 100644
@@ -332,21 +332,24 @@ dtb-$(CONFIG_ARCH_STI)+= stih415-b2000.dtb \
 	stih416-b2000.dtb \
 	stih415-b2020.dtb \
 	stih416-b2020.dtb
-dtb-$(CONFIG_ARCH_SUNXI) += \
+dtb-$(CONFIG_MACH_SUN4I) += \
 	sun4i-a10-a1000.dtb \
 	sun4i-a10-cubieboard.dtb \
 	sun4i-a10-mini-xplus.dtb \
 	sun4i-a10-hackberry.dtb \
 	sun4i-a10-inet97fv2.dtb \
 	sun4i-a10-olinuxino-lime.dtb \
-	sun4i-a10-pcduino.dtb \
+	sun4i-a10-pcduino.dtb
+dtb-$(CONFIG_MACH_SUN5I) += \
 	sun5i-a10s-olinuxino-micro.dtb \
 	sun5i-a10s-r7-tv-dongle.dtb \
 	sun5i-a13-olinuxino.dtb \
-	sun5i-a13-olinuxino-micro.dtb \
+	sun5i-a13-olinuxino-micro.dtb
+dtb-$(CONFIG_MACH_SUN6I) += \
 	sun6i-a31-app4-evb1.dtb \
 	sun6i-a31-colombus.dtb \
-	sun6i-a31-m9.dtb \
+	sun6i-a31-m9.dtb
+dtb-$(CONFIG_MACH_SUN7I) += \
 	sun7i-a20-cubieboard2.dtb \
 	sun7i-a20-cubietruck.dtb \
 	sun7i-a20-olinuxino-micro.dtb
Signature · 1 line
2.0.0.rc2
#1 lore raw

PATCH 1/1 ARM: sunxi: dt: build DTs according to new MACH_SUNxI Kconfig symbols

Quoted 6 lines · Chen-Yu Tsai

Allwinner sunxi support has been split into the various SoCs in Kconfig. Adapt the new symbols for the device trees.

---

Quoted 7 lines

Hi,

This patch lets us build the DTBs according to the SoCs we selected in kernel config. This matches the build behavior of the kernel itself after splitting up sunxi support to various SoCs in Kconfig.

Maxime, could you take this?

Applied, thanks.

Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140517/fdcc119e/attachment-0001.sig>