sdm845: boardconfig: fix userdata partition size and cmdline
Support 64GB devices, usually better to simply format userdata rather
than flash the image, but this should prevent weird boot issues.
Also remove fw_devlink=on and selinux=0 from cmdline, fw_devlink is on
by default and selinux=0 doesn't actually apply on Android.
Thanks for the suggestions Amit!
diff --git a/sdm845/BoardConfig.mk b/sdm845/BoardConfig.mk
index c0f2000..822f65f 100644
--- a/sdm845/BoardConfig.mk
+++ b/sdm845/BoardConfig.mk
@@ -14,11 +14,10 @@
BOARD_KERNEL_CMDLINE += androidboot.hardware=sdm845 androidboot.boot_devices=soc@0/1d84000.ufshc
BOARD_KERNEL_CMDLINE += firmware_class.path=/vendor/firmware/ init=/init printk.devkmsg=on
BOARD_KERNEL_CMDLINE += deferred_probe_timeout=30
-BOARD_KERNEL_CMDLINE += fw_devlink=on selinux=0
# Image Configuration
BOARD_BOOTIMAGE_PARTITION_SIZE := 67108864 #64M
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2998927360
-BOARD_USERDATAIMAGE_PARTITION_SIZE := 118112366592
+BOARD_USERDATAIMAGE_PARTITION_SIZE := 57453555712
BOARD_VENDORIMAGE_PARTITION_SIZE := 536870912
BOARD_FLASH_BLOCK_SIZE := 262144