hikey960: Fix image sizes to match ptable

The partition table blob defines partition sizes which do not match the
size of the images created by the Android build system. This tickles a
bug in the libfec userspace code, which is fixed in system/extras
Ia6cdbc0f35a98fdfa1fb4677951ae5c829cabb0f, but we may as well stop
wasting flash space.

Test: local
Bug: 72722987
Change-Id: Ia971c0c3ae5b3e798b107a8c6d571cb67d8ec0b9
Signed-off-by: Alistair Strachan <astrachan@google.com>
diff --git a/hikey960/BoardConfig.mk b/hikey960/BoardConfig.mk
index 1ba08db..09a1ed7 100644
--- a/hikey960/BoardConfig.mk
+++ b/hikey960/BoardConfig.mk
@@ -19,14 +19,14 @@
 endif
 BOARD_MKBOOTIMG_ARGS := --base 0x0 --tags_offset 0x07a00000 --kernel_offset 0x00080000 --ramdisk_offset 0x07c00000
 
-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2768240640   # 2640MB
-BOARD_USERDATAIMAGE_PARTITION_SIZE := 25769803776 # 24GB
-BOARD_CACHEIMAGE_PARTITION_SIZE := 8388608       # 8MB
+BOARD_SYSTEMIMAGE_PARTITION_SIZE := 4915724288    # 4688MB
+BOARD_USERDATAIMAGE_PARTITION_SIZE := 25845301248 # 24648MB
+BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456      # 256MB
 BOARD_FLASH_BLOCK_SIZE := 512
 
 # Vendor partition definitions
 TARGET_COPY_OUT_VENDOR := vendor
-BOARD_VENDORIMAGE_PARTITION_SIZE :=  822083584   # 784MB
+BOARD_VENDORIMAGE_PARTITION_SIZE := 822083584     # 784MB
 BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
 BOARD_VENDORIMAGE_JOURNAL_SIZE := 0
 BOARD_VENDORIMAGE_EXTFS_INODE_COUNT := 2048