blob: 20ca782dd483756e322b9aed28008d6f58a1ad6c [file] [log] [blame]
Amit Pundir4e375822019-04-18 16:46:10 +05301include device/linaro/dragonboard/BoardConfigCommon.mk
2
3# Board Information
4TARGET_BOOTLOADER_BOARD_NAME := db845c
5TARGET_BOARD_PLATFORM := db845c
6
John Stultzf36354e2020-01-14 00:10:06 +00007TARGET_NO_KERNEL := false
8BOARD_INCLUDE_DTB_IN_BOOTIMG := true
9BOARD_BOOT_HEADER_VERSION := 2
10BOARD_MKBOOTIMG_ARGS := --header_version $(BOARD_BOOT_HEADER_VERSION)
11BOARD_KERNEL_BASE := 0x80000000
12BOARD_KERNEL_PAGESIZE := 2048
John Stultzd66daf42020-01-15 18:28:42 +000013BOARD_KERNEL_CMDLINE := earlycon firmware_class.path=/vendor/firmware/ androidboot.hardware=db845c
Yongqin Liuf227a812020-03-27 18:31:25 +080014BOARD_KERNEL_CMDLINE += init=/init androidboot.boot_devices=soc@0/1d84000.ufshc printk.devkmsg=on
John Stultz64dbd9c2020-04-17 05:33:08 +000015BOARD_KERNEL_CMDLINE += deferred_probe_timeout=30
Amit Pundir05e94c32020-05-11 20:32:30 +053016# fw_devlink=on, https://android-review.googlesource.com/c/1305327, broke android-mainline
17# Set fw_devlink=permissive for the time being
18BOARD_KERNEL_CMDLINE += fw_devlink=permissive
John Stultzf36354e2020-01-14 00:10:06 +000019
Amit Pundir4e375822019-04-18 16:46:10 +053020# Image Configuration
21BOARD_BOOTIMAGE_PARTITION_SIZE := 67108864 #64M
22BOARD_USERDATAIMAGE_PARTITION_SIZE := 21474836480 #20G
23BOARD_FLASH_BLOCK_SIZE := 512
24# Super partition
25BOARD_SUPER_PARTITION_SIZE := 10737418240 #10G
26BOARD_DB_DYNAMIC_PARTITIONS_SIZE := 10737418240 #10G
27BOARD_SUPER_PARTITION_METADATA_DEVICE := super
Todd Kjosb611b162020-03-09 14:14:27 -070028BOARD_SUPER_IMAGE_IN_UPDATE_PACKAGE := true