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: 182431975
Test: build
Change-Id: I648017e4737a96d663449b8b27f1c6c19730e6cd
diff --git a/db845c/BoardConfig.mk b/db845c/BoardConfig.mk
index 67120aa..d668719 100644
--- a/db845c/BoardConfig.mk
+++ b/db845c/BoardConfig.mk
@@ -26,6 +26,6 @@
BOARD_FLASH_BLOCK_SIZE := 512
# Super partition
BOARD_SUPER_PARTITION_SIZE := 12437225472
-BOARD_DB_DYNAMIC_PARTITIONS_SIZE := 12437225472
+BOARD_DB_DYNAMIC_PARTITIONS_SIZE := 12433031168 # Reserve 4M for DAP metadata
BOARD_SUPER_PARTITION_METADATA_DEVICE := super
BOARD_SUPER_IMAGE_IN_UPDATE_PACKAGE := true