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: I2feb06531bf0bbbff8845fa485b5b4917152bad6
diff --git a/hikey960/BoardConfig.mk b/hikey960/BoardConfig.mk
index b3a059f..515cce6 100644
--- a/hikey960/BoardConfig.mk
+++ b/hikey960/BoardConfig.mk
@@ -59,7 +59,7 @@
BOARD_SUPER_PARTITION_SIZE := 4915724288
BOARD_SUPER_PARTITION_GROUPS := hikey960_dynamic_partitions
BOARD_HIKEY960_DYNAMIC_PARTITIONS_PARTITION_LIST := system vendor system_ext product
-BOARD_HIKEY960_DYNAMIC_PARTITIONS_SIZE := 4915724288
+BOARD_HIKEY960_DYNAMIC_PARTITIONS_SIZE := 4911529984 # Reserve 4M for DAP metadata
BOARD_SUPER_PARTITION_METADATA_DEVICE := super
BOARD_SUPER_IMAGE_IN_UPDATE_PACKAGE := true