summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-10-13 14:46:49 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2023-10-13 14:46:49 +0200
commit42ea3331283bf9d8f52b38be626c060a004e84e1 (patch)
treecfec63fad91c1a0810525e9e715572e325f79704
parenta955bf24c6233019cc25fce585e7326c38966e9e (diff)
add dtoverlay for vc4/v3d gpu driver
-rw-r--r--package/bcm28xx-bootloader/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/bcm28xx-bootloader/Makefile b/package/bcm28xx-bootloader/Makefile
index da3d8622f..a62cae630 100644
--- a/package/bcm28xx-bootloader/Makefile
+++ b/package/bcm28xx-bootloader/Makefile
@@ -72,6 +72,10 @@ ifeq ($(ADK_PACKAGE_BCM28XX_BOOTLOADER_CUTDOWN),y)
endif
printf "gpu_mem=$(ADK_TARGET_GPU_MEM)\n" >> \
$(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt
+ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI4)$(ADK_TARGET_SYSTEM_RASPBERRY_PI4_64),y)
+ printf "dtoverlay=vc4-kms-v3d\n" >> \
+ $(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt
+endif
ifneq ($(ADK_TARGET_HARDWARE_HIFIBERRY_AMP),)
printf "dtoverlay=hifiberry-amp\n" >> \
$(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt