From ad5b0c461db54849b61dd7213ea40b4220beba4a Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Fri, 28 May 2021 08:51:50 +0200 Subject: [PATCH] sm8350-common: Declare super and its partitions size Partitions size is calculated using this formula: (super / 2 - 4M). Change-Id: I8d211f9885f3bbebfc221ae320f83b9478677034 --- BoardConfigCommon.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 8ffa2fb..454372d 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -156,7 +156,9 @@ BOARD_SYSTEM_EXTIMAGE_FILE_SYSTEM_TYPE := ext4 BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := ext4 BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4 BOARD_ONEPLUS_DYNAMIC_PARTITIONS_PARTITION_LIST := odm product system system_ext vendor +BOARD_ONEPLUS_DYNAMIC_PARTITIONS_SIZE := 5591007232 BOARD_SUPER_PARTITION_GROUPS := oneplus_dynamic_partitions +BOARD_SUPER_PARTITION_SIZE := 11190403072 BOARD_FLASH_BLOCK_SIZE := 262144 # (BOARD_KERNEL_PAGESIZE * 64) TARGET_COPY_OUT_ODM := odm TARGET_COPY_OUT_PRODUCT := product