blob: 5f4d343bdeb79719254d4531555eeb319bd1130f [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
Yongqin Liu63f8e162021-03-25 14:15:03 +08009TARGET_USES_BOOT_HDR_V3 ?= true
Amit Pundirdd5bd1b2020-12-22 13:46:24 +053010ifeq ($(TARGET_USES_BOOT_HDR_V3), true)
11 BOARD_BOOT_HEADER_VERSION := 3
12 BOARD_KERNEL_PAGESIZE := 4096
13 BOARD_VENDOR_BOOTIMAGE_PARTITION_SIZE := 67108864 #64M
14else
15 BOARD_BOOT_HEADER_VERSION := 2
16 BOARD_KERNEL_PAGESIZE := 2048
17endif
John Stultzf36354e2020-01-14 00:10:06 +000018BOARD_MKBOOTIMG_ARGS := --header_version $(BOARD_BOOT_HEADER_VERSION)
19BOARD_KERNEL_BASE := 0x80000000
John Stultzd66daf42020-01-15 18:28:42 +000020BOARD_KERNEL_CMDLINE := earlycon firmware_class.path=/vendor/firmware/ androidboot.hardware=db845c
Yongqin Liuf227a812020-03-27 18:31:25 +080021BOARD_KERNEL_CMDLINE += init=/init androidboot.boot_devices=soc@0/1d84000.ufshc printk.devkmsg=on
John Stultz64dbd9c2020-04-17 05:33:08 +000022BOARD_KERNEL_CMDLINE += deferred_probe_timeout=30
John Stultzf36354e2020-01-14 00:10:06 +000023
Amit Pundir4e375822019-04-18 16:46:10 +053024# Image Configuration
25BOARD_BOOTIMAGE_PARTITION_SIZE := 67108864 #64M
26BOARD_USERDATAIMAGE_PARTITION_SIZE := 21474836480 #20G
27BOARD_FLASH_BLOCK_SIZE := 512
28# Super partition
Amit Pundir7d3a1ac2020-10-07 18:26:24 +053029BOARD_SUPER_PARTITION_SIZE := 12437225472
Tianjie78c25362021-03-18 12:08:46 -070030BOARD_DB_DYNAMIC_PARTITIONS_SIZE := 12433031168 # Reserve 4M for DAP metadata
Amit Pundir4e375822019-04-18 16:46:10 +053031BOARD_SUPER_PARTITION_METADATA_DEVICE := super
Todd Kjosb611b162020-03-09 14:14:27 -070032BOARD_SUPER_IMAGE_IN_UPDATE_PACKAGE := true