Use different dtb and dtbo files for Raspberry Pi 4 when agl-sota
is enabled. This modification is required for successfully
building a kernel because in AGL machine raspberrypi4 is for
64-bit image and in class sota_raspberrypi layer meta-updater
the same machine name is targeting 32-bit image.
Bug-AGL: SPEC-3130
Change-Id: I5fd4bccfe605fea4e14499183279032a8bf0562e
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
${RPI_KERNEL_DEVICETREE_OVERLAYS} \
"
${RPI_KERNEL_DEVICETREE_OVERLAYS} \
"
+# Different dtb and dtbo files are needed for Raspberry Pi 4
+# (64-bit) if feature agl-sota is enabled.
+KERNEL_DEVICETREE_raspberrypi4_sota = " broadcom/bcm2711-rpi-4-b.dtb overlays/vc4-fkms-v3d.dtbo overlays/uart0-rpi4.dtbo"
+
# By default:
#
# * When u-boot is disabled use the "Image" format which can be directly loaded
# By default:
#
# * When u-boot is disabled use the "Image" format which can be directly loaded