s5neolte: correct flash block size
authorStricted <info@stricted.net>
Mon, 22 Oct 2018 05:42:37 +0000 (07:42 +0200)
committerJan Altensen <info@stricted.net>
Mon, 12 Aug 2019 14:26:09 +0000 (16:26 +0200)
also remove a deprecated flag

Change-Id: I1c6a3faeb1bd41df0e18a74df02be38c4273e851

BoardConfig.mk

index 2e4848531444c2c00d198638d36488a3d9f34178..99760cb1010a7ba67c973176254144b3a727baef 100644 (file)
@@ -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