summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Barker <paul@betafive.co.uk>2019-07-25 21:59:07 +0100
committerPaul Barker <paul@betafive.co.uk>2019-07-25 22:04:34 +0100
commit5366c969e8ee40ef0366ec0d2ca4e0336c71de27 (patch)
treef668e6c9b2093bb690ce49653dfe6dbff71c59f4
parent580e248b29ce3f669527f93b9f51c75c2c4da4ac (diff)
downloadmeta-raspberrypi-5366c969e8ee40ef0366ec0d2ca4e0336c71de27.tar.gz
raspberrypi4.conf: Only build rpi4 DT when this machine is selected
On the warrior branch we still need to support the 4.14.y kernel series which does not support the Raspberry Pi 4. Therefore we can't assume that the device tree for the Raspberry Pi 4 will always be present in the kernel sources. Signed-off-by: Paul Barker <paul@betafive.co.uk>
-rw-r--r--conf/machine/include/rpi-base.inc1
-rw-r--r--conf/machine/raspberrypi4.conf2
2 files changed, 2 insertions, 1 deletions
diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc
index af1418d..b126617 100644
--- a/conf/machine/include/rpi-base.inc
+++ b/conf/machine/include/rpi-base.inc
@@ -47,7 +47,6 @@ RPI_KERNEL_DEVICETREE ?= " \
47 bcm2709-rpi-2-b.dtb \ 47 bcm2709-rpi-2-b.dtb \
48 bcm2710-rpi-3-b.dtb \ 48 bcm2710-rpi-3-b.dtb \
49 bcm2710-rpi-3-b-plus.dtb \ 49 bcm2710-rpi-3-b-plus.dtb \
50 bcm2711-rpi-4-b.dtb \
51 bcm2708-rpi-cm.dtb \ 50 bcm2708-rpi-cm.dtb \
52 bcm2710-rpi-cm3.dtb \ 51 bcm2710-rpi-cm3.dtb \
53 " 52 "
diff --git a/conf/machine/raspberrypi4.conf b/conf/machine/raspberrypi4.conf
index 42c765f..b23fdc3 100644
--- a/conf/machine/raspberrypi4.conf
+++ b/conf/machine/raspberrypi4.conf
@@ -19,3 +19,5 @@ SERIAL_CONSOLES ?= "115200;ttyS0"
19MACHINE_FEATURES_append = " vc4graphics" 19MACHINE_FEATURES_append = " vc4graphics"
20VC4DTBO ?= "vc4-fkms-v3d" 20VC4DTBO ?= "vc4-fkms-v3d"
21ARMSTUB ?= "armstub7.bin" 21ARMSTUB ?= "armstub7.bin"
22
23RPI_KERNEL_DEVICETREE += "bcm2711-rpi-4-b.dtb"