diff --git a/disable-vc4-overlay.dts b/disable-vc4-overlay.dts new file mode 100644 index 0000000..254070c --- /dev/null +++ b/disable-vc4-overlay.dts @@ -0,0 +1,13 @@ +/dts-v1/; +/plugin/; + +/{ + compatible = "brcm,bcm2711"; + + fragment@0 { + target = <&vc4>; + __overlay__ { + status = "disabled"; + }; + }; +}; diff --git a/raspberrypi-firmware-dt.changes b/raspberrypi-firmware-dt.changes index eb279bb..5024778 100644 --- a/raspberrypi-firmware-dt.changes +++ b/raspberrypi-firmware-dt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 11 18:29:08 UTC 2019 - Nicolas Patricio Saenz Julienne + +- Add disable-vc4-overlay.dts, which simply disables vc4 (SLE-7771) + ------------------------------------------------------------------- Fri Oct 4 13:09:27 UTC 2019 - Matthias Brugger diff --git a/raspberrypi-firmware-dt.spec b/raspberrypi-firmware-dt.spec index 8502365..e757f91 100644 --- a/raspberrypi-firmware-dt.spec +++ b/raspberrypi-firmware-dt.spec @@ -1,7 +1,7 @@ # # spec file for package raspberrypi-firmware-dt # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,8 +22,9 @@ Release: 0 Summary: Device trees for the Raspberry Pi firmware loader License: GPL-2.0-only Group: System/Boot -Url: https://github.com/raspberrypi/linux/ +URL: https://github.com/raspberrypi/linux/ Source: raspberrypi-firmware-dt-%{version}.tar.xz +Source1: disable-vc4-overlay.dts Source100: get-from-git.sh Requires: raspberrypi-firmware BuildRequires: dtc @@ -51,7 +52,7 @@ for dts in arch/arm/boot/dts/bcm27*dts arch/arm64/boot/dts/broadcom/bcm27*dts; d done export DTC_FLAGS="-R 0 -p 0 -@ -H epapr" -for dts in arch/arm/boot/dts/overlays/*dts; do +for dts in arch/arm/boot/dts/overlays/*dts %{SOURCE1}; do target=$(basename ${dts%*.dts}) target=${target%*-overlay} mkdir -p $PPDIR/overlays