blob: abb34dbcf4de3f03db3be0002f0ec88070fe5f1f [file] [log] [blame]
Caleb Connolly726fc212021-08-02 10:03:37 +01001include device/oneplus/enchilada/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 := enchilada
6TARGET_BOARD_PLATFORM := enchilada
7
8# Kernel/boot.img Configuration
9BOARD_KERNEL_BASE := 0x00000000
10BOARD_KERNEL_PAGESIZE := 4096
11BOARD_KERNEL_TAGS_OFFSET := 0x00000100
12BOARD_RAMDISK_OFFSET := 0x01000000
13BOARD_KERNEL_CMDLINE := console=ttyMSM0,115200n8 androidboot.console=ttyMSM0
14BOARD_KERNEL_CMDLINE += androidboot.hardware=enchilada androidboot.boot_devices=soc@0/1d84000.ufshc
15BOARD_KERNEL_CMDLINE += firmware_class.path=/vendor/firmware/ init=/init printk.devkmsg=on
16BOARD_KERNEL_CMDLINE += deferred_probe_timeout=30
17BOARD_KERNEL_CMDLINE += fw_devlink=permissive
18
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