blob: b40f9b449463d657266d6d4c22a31ed355ed798b [file] [log] [blame]
Caleb Connollyac639022021-08-06 10:21:00 +01001include device/generic/sdm845/BoardConfigCommon.mk
Amit Pundirc738b812019-06-19 16:13:49 +05302
3# Copied from https://github.com/LineageOS/android_device_xiaomi_sdm845-common/blob/lineage-16.0/BoardConfigCommon.mk
4# Board Information
Amit Pundir97e67462020-07-26 21:26:00 +05305TARGET_BOOTLOADER_BOARD_NAME := beryllium
6TARGET_BOARD_PLATFORM := beryllium
Amit Pundirc738b812019-06-19 16:13:49 +05307
Amit Pundir276a0552019-11-23 22:27:15 +05308# Kernel/boot.img Configuration
Amit Pundirc738b812019-06-19 16:13:49 +05309BOARD_KERNEL_BASE := 0x00000000
10BOARD_KERNEL_PAGESIZE := 4096
11BOARD_KERNEL_TAGS_OFFSET := 0x00000100
12BOARD_RAMDISK_OFFSET := 0x01000000
Amit Pundir8bc74862020-01-28 17:10:59 +053013BOARD_KERNEL_CMDLINE := console=ttyMSM0,115200n8 androidboot.console=ttyMSM0
Amit Pundir97e67462020-07-26 21:26:00 +053014BOARD_KERNEL_CMDLINE += androidboot.hardware=beryllium androidboot.boot_devices=soc@0/1d84000.ufshc
Sumit Semwal81051992020-05-15 15:01:49 +053015BOARD_KERNEL_CMDLINE += firmware_class.path=/vendor/firmware/ init=/init printk.devkmsg=on
16BOARD_KERNEL_CMDLINE += deferred_probe_timeout=30
Sumit Semwald9bec352020-05-15 16:05:06 +053017BOARD_KERNEL_CMDLINE += fw_devlink=permissive
Amit Pundirc738b812019-06-19 16:13:49 +053018
19# Image Configuration
20BOARD_BOOTIMAGE_PARTITION_SIZE := 67108864 #64M
21BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3221225472
22BOARD_USERDATAIMAGE_PARTITION_SIZE := 57453555712
23BOARD_VENDORIMAGE_PARTITION_SIZE := 536870912
24BOARD_FLASH_BLOCK_SIZE := 262144