summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.com>2018-07-26 19:27:41 +0100
committerAndrei Gherzan <andrei@gherzan.com>2018-07-26 23:11:07 +0100
commit372c7bc16c3f3a0fc682171dd1cb1752bcb33d48 (patch)
tree93389b8ae5f2b38cd1d47fc65d964c1f39597836
parent39381720bdfb98479c4da1e247d45809b808c056 (diff)
downloadmeta-raspberrypi-372c7bc16c3f3a0fc682171dd1cb1752bcb33d48.tar.gz
rpi-base.inc: Split overlays and dtbs from KERNEL_DEVICETREE
This is helpful for example in the cases where the kernel doesn't provide all the dtbs in arm64 as in arm. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
-rw-r--r--conf/machine/include/rpi-base.inc27
1 files changed, 17 insertions, 10 deletions
diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc
index 5eed55d..99e1f66 100644
--- a/conf/machine/include/rpi-base.inc
+++ b/conf/machine/include/rpi-base.inc
@@ -14,16 +14,7 @@ XSERVER = " \
14 ${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "xf86-video-modesetting", "xf86-video-fbdev", d)} \ 14 ${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "xf86-video-modesetting", "xf86-video-fbdev", d)} \
15 " 15 "
16 16
17KERNEL_DEVICETREE ?= " \ 17RPI_KERNEL_DEVICETREE_OVERLAYS ?= " \
18 bcm2708-rpi-0-w.dtb \
19 bcm2708-rpi-b.dtb \
20 bcm2708-rpi-b-plus.dtb \
21 bcm2709-rpi-2-b.dtb \
22 bcm2710-rpi-3-b.dtb \
23 bcm2710-rpi-3-b-plus.dtb \
24 bcm2708-rpi-cm.dtb \
25 bcm2710-rpi-cm3.dtb \
26 \
27 overlays/dwc2.dtbo \ 18 overlays/dwc2.dtbo \
28 overlays/hifiberry-amp.dtbo \ 19 overlays/hifiberry-amp.dtbo \
29 overlays/hifiberry-dac.dtbo \ 20 overlays/hifiberry-dac.dtbo \
@@ -46,6 +37,22 @@ KERNEL_DEVICETREE ?= " \
46 overlays/at86rf233.dtbo \ 37 overlays/at86rf233.dtbo \
47 " 38 "
48 39
40RPI_KERNEL_DEVICETREE ?= " \
41 bcm2708-rpi-0-w.dtb \
42 bcm2708-rpi-b.dtb \
43 bcm2708-rpi-b-plus.dtb \
44 bcm2709-rpi-2-b.dtb \
45 bcm2710-rpi-3-b.dtb \
46 bcm2710-rpi-3-b-plus.dtb \
47 bcm2708-rpi-cm.dtb \
48 bcm2710-rpi-cm3.dtb \
49 "
50
51KERNEL_DEVICETREE ?= " \
52 ${RPI_KERNEL_DEVICETREE} \
53 ${RPI_KERNEL_DEVICETREE_OVERLAYS} \
54 "
55
49# By default: 56# By default:
50# 57#
51# * When u-boot is disabled use the "Image" format which can be directly loaded 58# * When u-boot is disabled use the "Image" format which can be directly loaded