Amit Pundir | 4e37582 | 2019-04-18 16:46:10 +0530 | [diff] [blame] | 1 | include device/linaro/dragonboard/BoardConfigCommon.mk |
| 2 | |
| 3 | # Board Information |
| 4 | TARGET_BOOTLOADER_BOARD_NAME := db845c |
| 5 | TARGET_BOARD_PLATFORM := db845c |
| 6 | |
John Stultz | f36354e | 2020-01-14 00:10:06 +0000 | [diff] [blame] | 7 | TARGET_NO_KERNEL := false |
| 8 | BOARD_INCLUDE_DTB_IN_BOOTIMG := true |
Amit Pundir | dd5bd1b | 2020-12-22 13:46:24 +0530 | [diff] [blame] | 9 | ifeq ($(TARGET_USES_BOOT_HDR_V3), true) |
| 10 | BOARD_BOOT_HEADER_VERSION := 3 |
| 11 | BOARD_KERNEL_PAGESIZE := 4096 |
| 12 | BOARD_VENDOR_BOOTIMAGE_PARTITION_SIZE := 67108864 #64M |
| 13 | else |
| 14 | BOARD_BOOT_HEADER_VERSION := 2 |
| 15 | BOARD_KERNEL_PAGESIZE := 2048 |
| 16 | endif |
John Stultz | f36354e | 2020-01-14 00:10:06 +0000 | [diff] [blame] | 17 | BOARD_MKBOOTIMG_ARGS := --header_version $(BOARD_BOOT_HEADER_VERSION) |
| 18 | BOARD_KERNEL_BASE := 0x80000000 |
John Stultz | d66daf4 | 2020-01-15 18:28:42 +0000 | [diff] [blame] | 19 | BOARD_KERNEL_CMDLINE := earlycon firmware_class.path=/vendor/firmware/ androidboot.hardware=db845c |
Yongqin Liu | f227a81 | 2020-03-27 18:31:25 +0800 | [diff] [blame] | 20 | BOARD_KERNEL_CMDLINE += init=/init androidboot.boot_devices=soc@0/1d84000.ufshc printk.devkmsg=on |
John Stultz | 64dbd9c | 2020-04-17 05:33:08 +0000 | [diff] [blame] | 21 | BOARD_KERNEL_CMDLINE += deferred_probe_timeout=30 |
John Stultz | f36354e | 2020-01-14 00:10:06 +0000 | [diff] [blame] | 22 | |
Amit Pundir | 4e37582 | 2019-04-18 16:46:10 +0530 | [diff] [blame] | 23 | # Image Configuration |
| 24 | BOARD_BOOTIMAGE_PARTITION_SIZE := 67108864 #64M |
| 25 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 21474836480 #20G |
| 26 | BOARD_FLASH_BLOCK_SIZE := 512 |
| 27 | # Super partition |
Amit Pundir | 7d3a1ac | 2020-10-07 18:26:24 +0530 | [diff] [blame] | 28 | BOARD_SUPER_PARTITION_SIZE := 12437225472 |
| 29 | BOARD_DB_DYNAMIC_PARTITIONS_SIZE := 12437225472 |
Amit Pundir | 4e37582 | 2019-04-18 16:46:10 +0530 | [diff] [blame] | 30 | BOARD_SUPER_PARTITION_METADATA_DEVICE := super |
Todd Kjos | b611b16 | 2020-03-09 14:14:27 -0700 | [diff] [blame] | 31 | BOARD_SUPER_IMAGE_IN_UPDATE_PACKAGE := true |