From 57dd5d2214b54d3f6cfb816dd0bae86ac6d5079a Mon Sep 17 00:00:00 2001 From: Chandrasekhar Mattaparthy Date: Fri, 12 Feb 2021 01:49:49 +0530 Subject: [PATCH] ARM: dts: msm: Early mount of vendor partition Add support to early mount vendor partition from device tree. This is required so that vendor modules can be loaded during early-init for Monaco Target. Change-Id: I8ebc1c992d42eb810a29c4f57e1a9c0dbea0a309 --- qcom/monaco.dtsi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/qcom/monaco.dtsi b/qcom/monaco.dtsi index 60a8d4f7089d..6cea151c3348 100644 --- a/qcom/monaco.dtsi +++ b/qcom/monaco.dtsi @@ -127,6 +127,29 @@ soc: soc { }; + firmware: firmware { + android { + compatible = "android,firmware"; + vbmeta { + compatible="android,vbmeta"; + parts = "vbmeta,boot,system,vendor,dtbo,recovery"; + }; + + fstab { + compatible = "android,fstab"; + vendor { + compatible = "android,vendor"; + dev = + "/dev/block/platform/soc/4744000.sdhci/by-name/vendor"; + type = "ext4"; + mnt_flags = "ro,barrier=1,discard"; + fsmgr_flags = "wait,slotselect,avb"; + status = "ok"; + }; + }; + }; + }; + reserved-memory { #address-cells = <2>; #size-cells = <2>;