From b5ef26cdd14873a40457e33e9359af73874f59bf Mon Sep 17 00:00:00 2001 From: Ivan Vecera Date: Sun, 3 Mar 2024 12:33:43 +0100 Subject: [PATCH] sdm710-common: Restore reserved sizes for treble partitions Commit 73fdae1 ("sdm710-common: Inherit common partition reserved sizes") commonized partition reserved sizes but this is valid only for SSI partitions because vendor/lineage/config/BoardConfigReservedSize.mk does not define partition reservations for treble partitions. Partially revert the mentioned commit to restore reservations for vendor and odm partitions. Change-Id: I28855102cf9f0f35be8438a7a0b9c05870b3b554 --- BoardConfigCommon.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index cf29939..41f1422 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -111,6 +111,8 @@ BOARD_SUPER_PARTITION_METADATA_DEVICE := system # Partitions - reserved size -include vendor/lineage/config/BoardConfigReservedSize.mk +$(foreach p, $(call to-upper, $(TREBLE_PARTITIONS)), \ + $(eval BOARD_$(p)IMAGE_PARTITION_RESERVED_SIZE := 30720000)) # Platform BOARD_VENDOR := xiaomi