X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fchunkeey.git;a=blobdiff_plain;f=target%2Flinux%2Fbcm27xx%2Fpatches-5.10%2F950-0447-ARM-dts-bcm2711-Add-reserved-memory-template-to-hold.patch;fp=target%2Flinux%2Fbcm27xx%2Fpatches-5.10%2F950-0447-ARM-dts-bcm2711-Add-reserved-memory-template-to-hold.patch;h=0000000000000000000000000000000000000000;hp=e671d4584a5a9a71c13165ea738b0192b71e936e;hb=d5c4f24b2af991df2ec24df1a3f906049370f59f;hpb=99ad84b6d9727a63f99a16e0b8386747262e3433 diff --git a/target/linux/bcm27xx/patches-5.10/950-0447-ARM-dts-bcm2711-Add-reserved-memory-template-to-hold.patch b/target/linux/bcm27xx/patches-5.10/950-0447-ARM-dts-bcm2711-Add-reserved-memory-template-to-hold.patch deleted file mode 100644 index e671d4584a..0000000000 --- a/target/linux/bcm27xx/patches-5.10/950-0447-ARM-dts-bcm2711-Add-reserved-memory-template-to-hold.patch +++ /dev/null @@ -1,60 +0,0 @@ -From b3a070cf6fe04129d2c174e45c14b98a759e0402 Mon Sep 17 00:00:00 2001 -From: Nicolas Saenz Julienne -Date: Fri, 11 Dec 2020 12:22:01 +0100 -Subject: [PATCH] ARM: dts: bcm2711: Add reserved memory template to - hold firmware configuration - -RPi4's co-processor will copy the board's bootloader[1] configuration -into memory for the OS to consume. Specifically, for the bootloader -configuration and upgrade user-space routines to query it through -nvmem's sysfs interface. - -Introduce a reserved-memory area template for the co-processor to edit -before booting the system so as for Linux not to overwrite that memory -and to expose it as an nvmem device. - -Signed-off-by: Nicolas Saenz Julienne - -[1] https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2711_bootloader_config.md ---- - -Changes since v1: - - Introduce compatible string - - Change alias name to something more explicit ---- - arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 17 +++++++++++++++++ - 1 file changed, 17 insertions(+) - ---- a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts -+++ b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts -@@ -24,6 +24,7 @@ - emmc2bus = &emmc2bus; - ethernet0 = &genet; - pcie0 = &pcie0; -+ blconfig = &blconfig; - }; - - leds { -@@ -215,6 +216,22 @@ - status = "okay"; - }; - -+&rmem { -+ /* -+ * RPi4's co-processor will copy the board's bootloader configuration -+ * into memory for the OS to consume. It'll also update this node with -+ * its placement information. -+ */ -+ blconfig: nvram@0 { -+ compatible = "raspberrypi,bootloader-config", "nvmem-rmem"; -+ #address-cells = <1>; -+ #size-cells = <1>; -+ reg = <0x0 0x0 0x0>; -+ no-map; -+ status = "disabled"; -+ }; -+}; -+ - /* SDHCI is used to control the SDIO for wireless */ - &sdhci { - #address-cells = <1>;