]> git.baikalelectronics.ru Git - uboot.git/commitdiff
stm32mp1: Add a node for the FWU metadata device
authorSughosh Ganu <sughosh.ganu@linaro.org>
Fri, 21 Oct 2022 12:45:57 +0000 (18:15 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 18:47:32 +0000 (14:47 -0400)
The FWU metadata structure is accessed through the driver model
interface. On the stm32mp157c dk2 and ev1 boards, the FWU metadata is
stored on the uSD card. Add the fwu-mdata node on the u-boot specifc
dtsi file for accessing the metadata structure.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
arch/arm/dts/stm32mp157c-dk2-u-boot.dtsi
arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi

index 06ef3a4095f109236b4c07c8073e79ff5ec180a2..24f86209db6618a76f8c4e4dc810fdb4d1a1e1d0 100644 (file)
@@ -4,3 +4,10 @@
  */
 
 #include "stm32mp157a-dk1-u-boot.dtsi"
+
+/ {
+       fwu-mdata {
+               compatible = "u-boot,fwu-mdata-gpt";
+               fwu-mdata-store = <&sdmmc1>;
+       };
+};
index ec60486f41e079d0c4e66fe75120b87818637a36..7bf08bec6dae8d0a20176ed92b3b8adaf6f2ca94 100644 (file)
                spi0 = &qspi;
                usb0 = &usbotg_hs;
        };
+
+       fwu-mdata {
+               compatible = "u-boot,fwu-mdata-gpt";
+               fwu-mdata-store = <&sdmmc1>;
+       };
 };
 
 &flash0 {