summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsaac Chen <isaacchen@isaacchen.cn>2018-12-31 08:57:48 +0100
committerTingyiChen <tingyi364@gmail.com>2019-08-13 11:54:38 +0200
commit3ac2a0309619515c9ac27a5b6ec7c212b86dc355 (patch)
tree61d3b59c74a8f0623638e49fd3817a6ae2347032
parent23fd299b91b0e7eb8dbe300e1bc7c9649702b76b (diff)
wayne-common: Specify cache for non-AB variant device
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn> Change-Id: I93a8418c644a38ad7b00f0455d6d8e70e9a3d1ab
-rw-r--r--BoardConfigCommon.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 1774a8d..8db50c1 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -207,6 +207,10 @@ TARGET_PROVIDES_KEYMASTER := true
# Partitions
BOARD_FLASH_BLOCK_SIZE := 262144
BOARD_BOOTIMAGE_PARTITION_SIZE := 67108864
+ifneq ($(AB_OTA_UPDATER), true)
+BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
+BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456
+endif
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 67108864
BOARD_SYSTEMIMAGE_PARTITION_TYPE := ext4
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3221225472