summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2021-03-22 08:35:26 +0000
committerTianjie Xu <xunchang@google.com>2021-03-22 08:35:30 +0000
commitf09d390e9492884f68e29bffd3eb3eea6cb8b9b9 (patch)
treec708fc63a7eb104130a53432fbda590dce9692ba
parent115a70409fb294a29c4f2a190aef44f54a83233a (diff)
Reserve space in super for dynamic partition metadata
The maximum size of all dynamic partition groups should not exceed the super size - DAP metadata size. Today the configuration of the device doesn't take the metadata into acount. Since we recommend 4M to partners, reserve 4M here. Bug: 183360400 Bug: 182431975 Change-Id: Idd6d01db2594b4598c03aecbf931009fcf92a36c Test: TH
-rw-r--r--pixel3_mainline/BoardConfig.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/pixel3_mainline/BoardConfig.mk b/pixel3_mainline/BoardConfig.mk
index 26fd66a..1ee5544 100644
--- a/pixel3_mainline/BoardConfig.mk
+++ b/pixel3_mainline/BoardConfig.mk
@@ -19,5 +19,5 @@ BOARD_USERDATAIMAGE_PARTITION_SIZE := 10737418240
BOARD_FLASH_BLOCK_SIZE := 131072
# Super partition
BOARD_SUPER_PARTITION_SIZE := 2952790016
-BOARD_DB_DYNAMIC_PARTITIONS_SIZE := 2952790016
+BOARD_DB_DYNAMIC_PARTITIONS_SIZE := 2948595712 # Reserve 4M for DAP metadata
BOARD_SUPER_PARTITION_METADATA_DEVICE := system_b