From 94e00e094ae0b2dcedefe3f8cb3bc12c83da2595 Mon Sep 17 00:00:00 2001 From: Stricted Date: Mon, 22 Oct 2018 07:42:37 +0200 Subject: [PATCH] s5neolte: correct flash block size also remove a deprecated flag Change-Id: I1c6a3faeb1bd41df0e18a74df02be38c4273e851 --- BoardConfig.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 2e48485..99760cb 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -36,14 +36,15 @@ BOARD_NEEDS_ROAMING_PROTOCOL_FIELD := true TARGET_INIT_VENDOR_LIB := libinit_sec # Partitions -BOARD_HAS_NO_MISC_PARTITION:= false TARGET_USERIMAGES_USE_F2FS := true BOARD_BOOTIMAGE_PARTITION_SIZE := 33554432 BOARD_CACHEIMAGE_PARTITION_SIZE := 209715200 BOARD_RECOVERYIMAGE_PARTITION_SIZE := 39845888 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3145728000 BOARD_USERDATAIMAGE_PARTITION_SIZE := 12096372736 -BOARD_FLASH_BLOCK_SIZE := 131072 + +# blockdev --getbsz /dev/block/mmcblk0p23 +BOARD_FLASH_BLOCK_SIZE := 4096 # Kernel TARGET_KERNEL_CONFIG := lineageos_s5neolte_defconfig -- 2.20.1