Caleb Connolly | ac63902 | 2021-08-06 10:21:00 +0100 | [diff] [blame] | 1 | include device/generic/sdm845/BoardConfigCommon.mk |
Caleb Connolly | 726fc21 | 2021-08-02 10:03:37 +0100 | [diff] [blame] | 2 | |
| 3 | # Copied from https://github.com/LineageOS/android_device_oneplus_sdm845-common/blob/lineage-16.0/BoardConfigCommon.mk |
| 4 | # Board Information |
| 5 | TARGET_BOOTLOADER_BOARD_NAME := enchilada |
| 6 | TARGET_BOARD_PLATFORM := enchilada |
| 7 | |
| 8 | # Kernel/boot.img Configuration |
| 9 | BOARD_KERNEL_BASE := 0x00000000 |
| 10 | BOARD_KERNEL_PAGESIZE := 4096 |
| 11 | BOARD_KERNEL_TAGS_OFFSET := 0x00000100 |
| 12 | BOARD_RAMDISK_OFFSET := 0x01000000 |
Caleb Connolly | 201bf7a | 2021-08-03 13:11:11 +0100 | [diff] [blame] | 13 | BOARD_KERNEL_CMDLINE := earlycon earlyprintk console=ttyMSM0,115200n8 androidboot.console=ttyMSM0 |
Caleb Connolly | 726fc21 | 2021-08-02 10:03:37 +0100 | [diff] [blame] | 14 | BOARD_KERNEL_CMDLINE += androidboot.hardware=enchilada androidboot.boot_devices=soc@0/1d84000.ufshc |
| 15 | BOARD_KERNEL_CMDLINE += firmware_class.path=/vendor/firmware/ init=/init printk.devkmsg=on |
| 16 | BOARD_KERNEL_CMDLINE += deferred_probe_timeout=30 |
Caleb Connolly | db91858 | 2021-09-30 14:03:14 +0100 | [diff] [blame^] | 17 | BOARD_KERNEL_CMDLINE += fw_devlink=on selinux=0 |
| 18 | |
Caleb Connolly | 726fc21 | 2021-08-02 10:03:37 +0100 | [diff] [blame] | 19 | # Image Configuration |
| 20 | BOARD_BOOTIMAGE_PARTITION_SIZE := 67108864 #64M |
Caleb Connolly | 201bf7a | 2021-08-03 13:11:11 +0100 | [diff] [blame] | 21 | BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2998927360 |
| 22 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 118112366592 |
Caleb Connolly | 726fc21 | 2021-08-02 10:03:37 +0100 | [diff] [blame] | 23 | BOARD_VENDORIMAGE_PARTITION_SIZE := 536870912 |
| 24 | BOARD_FLASH_BLOCK_SIZE := 262144 |