aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.com>2018-07-26 19:27:41 +0100
committerAndrei Gherzan <andrei@gherzan.com>2018-09-06 20:00:49 +0100
commit99ebafd75a43749df0f4bea8ba46f976bcc1a00b (patch)
treeb514cd9e07762dde12d63f885aa028f05ff9fd84
parent32044251789a701eaa2cd1b2b3b8f32f86208a99 (diff)
downloadmeta-raspberrypi-99ebafd75a43749df0f4bea8ba46f976bcc1a00b.tar.gz
meta-raspberrypi-99ebafd75a43749df0f4bea8ba46f976bcc1a00b.tar.bz2
meta-raspberrypi-99ebafd75a43749df0f4bea8ba46f976bcc1a00b.zip
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 b01c561..2af1588 100644
--- a/conf/machine/include/rpi-base.inc
+++ b/conf/machine/include/rpi-base.inc
@@ -14,16 +14,7 @@ XSERVER = " \
${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "xf86-video-modesetting", "xf86-video-fbdev", d)} \
"
-KERNEL_DEVICETREE ?= " \
- bcm2708-rpi-0-w.dtb \
- bcm2708-rpi-b.dtb \
- bcm2708-rpi-b-plus.dtb \
- bcm2709-rpi-2-b.dtb \
- bcm2710-rpi-3-b.dtb \
- bcm2710-rpi-3-b-plus.dtb \
- bcm2708-rpi-cm.dtb \
- bcm2710-rpi-cm3.dtb \
- \
+RPI_KERNEL_DEVICETREE_OVERLAYS ?= " \
overlays/dwc2.dtbo \
overlays/hifiberry-amp.dtbo \
overlays/hifiberry-dac.dtbo \
@@ -46,6 +37,22 @@ KERNEL_DEVICETREE ?= " \
overlays/at86rf233.dtbo \
"
+RPI_KERNEL_DEVICETREE ?= " \
+ bcm2708-rpi-0-w.dtb \
+ bcm2708-rpi-b.dtb \
+ bcm2708-rpi-b-plus.dtb \
+ bcm2709-rpi-2-b.dtb \
+ bcm2710-rpi-3-b.dtb \
+ bcm2710-rpi-3-b-plus.dtb \
+ bcm2708-rpi-cm.dtb \
+ bcm2710-rpi-cm3.dtb \
+ "
+
+KERNEL_DEVICETREE ?= " \
+ ${RPI_KERNEL_DEVICETREE} \
+ ${RPI_KERNEL_DEVICETREE_OVERLAYS} \
+ "
+
# By default:
#
# * When u-boot is disabled use the "Image" format which can be directly loaded