From 28a83f0ff72bf05416889adb5930ff73f846ff95 Mon Sep 17 00:00:00 2001 From: wangwang Date: Thu, 22 Aug 2019 13:42:30 +0800 Subject: [PATCH] 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 --- .../boot/dts/exynos/exynos9609-robusta2_common.dtsi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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"; + }; }; }; }; -- 2.20.1