From: wangwang Date: Thu, 22 Aug 2019 05:42:30 +0000 (+0800) Subject: oem:add oem partition into avb auth chain X-Git-Tag: MMI-QSB30.62-17~91 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6cec7203fcf9cb50bf35e1896bb1671bc203ffc9;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git oem:add oem partition into avb auth chain create a node at device tree, the system can auto-mount the oem partition according to the info in the tree node Change-Id: I944804b129df5a68d8618cae898363229dfa0620 Reviewed-on: https://gerrit.mot.com/1407728 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key --- diff --git a/arch/arm64/boot/dts/exynos/exynos9609-robusta2_common.dtsi b/arch/arm64/boot/dts/exynos/exynos9609-robusta2_common.dtsi index 172733a94025..e72096c6559b 100755 --- a/arch/arm64/boot/dts/exynos/exynos9609-robusta2_common.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos9609-robusta2_common.dtsi @@ -39,7 +39,7 @@ compatible = "android,firmware"; vbmeta { compatible = "android,vbmeta"; - parts = "vbmeta,boot,system,vendor,dtbo"; + parts = "vbmeta,boot,system,vendor,dtbo,oem"; }; fstab { compatible = "android,fstab"; @@ -50,6 +50,13 @@ mnt_flags = "ro"; fsmgr_flags = "wait,avb,slotselect"; }; + oem { + compatible = "android,oem"; + dev = "/dev/block/platform/13520000.ufs/by-name/oem"; + type = "ext4"; + mnt_flags = "ro,barrier=1,discard"; + fsmgr_flags = "wait,avb,slotselect"; + }; }; }; };