blob: 8da2bcddf7a15a581c23103b71481158c959a6eb [file] [log] [blame]
Caleb Connolly2688d332021-09-30 14:01:06 +01001include device/generic/sdm845/BoardConfigCommon.mk
2
3# Copied from https://github.com/LineageOS/android_device_oneplus_sdm845-common/blob/lineage-16.0/BoardConfigCommon.mk
4# Board Information
5TARGET_BOOTLOADER_BOARD_NAME := sdm845
Caleb Connollydd9f0232021-10-29 21:16:09 +01006#TARGET_BOARD_PLATFORM := sdm845
Caleb Connolly2688d332021-09-30 14:01:06 +01007
8# Kernel/boot.img Configuration
9BOARD_KERNEL_BASE := 0x00000000
10BOARD_KERNEL_PAGESIZE := 4096
11BOARD_KERNEL_TAGS_OFFSET := 0x00000100
12BOARD_RAMDISK_OFFSET := 0x01000000
Caleb Connollyc306b8a2021-11-15 16:32:22 +000013BOARD_KERNEL_CMDLINE := console=ttyMSM0,115200n8 console=ttyGS0,115200 console=tty0 androidboot.console=ttyMSM0
Caleb Connolly2688d332021-09-30 14:01:06 +010014BOARD_KERNEL_CMDLINE += androidboot.hardware=sdm845 androidboot.boot_devices=soc@0/1d84000.ufshc
15BOARD_KERNEL_CMDLINE += firmware_class.path=/vendor/firmware/ init=/init printk.devkmsg=on
Caleb Connolly30fd7f42021-10-25 19:03:22 +010016BOARD_KERNEL_CMDLINE += deferred_probe_timeout=30
Caleb Connolly2688d332021-09-30 14:01:06 +010017BOARD_KERNEL_CMDLINE += fw_devlink=on selinux=0
18
19# Image Configuration
20BOARD_BOOTIMAGE_PARTITION_SIZE := 67108864 #64M
21BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2998927360
22BOARD_USERDATAIMAGE_PARTITION_SIZE := 118112366592
23BOARD_VENDORIMAGE_PARTITION_SIZE := 536870912
24BOARD_FLASH_BLOCK_SIZE := 262144