Caleb Connolly | ac63902 | 2021-08-06 10:21:00 +0100 | [diff] [blame] | 1 | include device/generic/sdm845/BoardConfigCommon.mk |
Amit Pundir | c738b81 | 2019-06-19 16:13:49 +0530 | [diff] [blame] | 2 | |
| 3 | # Copied from https://github.com/LineageOS/android_device_xiaomi_sdm845-common/blob/lineage-16.0/BoardConfigCommon.mk |
| 4 | # Board Information |
Amit Pundir | 97e6746 | 2020-07-26 21:26:00 +0530 | [diff] [blame] | 5 | TARGET_BOOTLOADER_BOARD_NAME := beryllium |
| 6 | TARGET_BOARD_PLATFORM := beryllium |
Amit Pundir | c738b81 | 2019-06-19 16:13:49 +0530 | [diff] [blame] | 7 | |
Amit Pundir | 276a055 | 2019-11-23 22:27:15 +0530 | [diff] [blame] | 8 | # Kernel/boot.img Configuration |
Amit Pundir | c738b81 | 2019-06-19 16:13:49 +0530 | [diff] [blame] | 9 | BOARD_KERNEL_BASE := 0x00000000 |
| 10 | BOARD_KERNEL_PAGESIZE := 4096 |
| 11 | BOARD_KERNEL_TAGS_OFFSET := 0x00000100 |
| 12 | BOARD_RAMDISK_OFFSET := 0x01000000 |
Amit Pundir | 8bc7486 | 2020-01-28 17:10:59 +0530 | [diff] [blame] | 13 | BOARD_KERNEL_CMDLINE := console=ttyMSM0,115200n8 androidboot.console=ttyMSM0 |
Amit Pundir | 97e6746 | 2020-07-26 21:26:00 +0530 | [diff] [blame] | 14 | BOARD_KERNEL_CMDLINE += androidboot.hardware=beryllium androidboot.boot_devices=soc@0/1d84000.ufshc |
Sumit Semwal | 8105199 | 2020-05-15 15:01:49 +0530 | [diff] [blame] | 15 | BOARD_KERNEL_CMDLINE += firmware_class.path=/vendor/firmware/ init=/init printk.devkmsg=on |
| 16 | BOARD_KERNEL_CMDLINE += deferred_probe_timeout=30 |
Sumit Semwal | d9bec35 | 2020-05-15 16:05:06 +0530 | [diff] [blame] | 17 | BOARD_KERNEL_CMDLINE += fw_devlink=permissive |
Amit Pundir | c738b81 | 2019-06-19 16:13:49 +0530 | [diff] [blame] | 18 | |
| 19 | # Image Configuration |
| 20 | BOARD_BOOTIMAGE_PARTITION_SIZE := 67108864 #64M |
| 21 | BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3221225472 |
| 22 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 57453555712 |
| 23 | BOARD_VENDORIMAGE_PARTITION_SIZE := 536870912 |
| 24 | BOARD_FLASH_BLOCK_SIZE := 262144 |