blob: d668719c3aea45f5af2e251d7dc8cd83f7a3e9ea [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
Amit Pundirdd5bd1b2020-12-22 13:46:24 +05309ifeq ($(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
13else
14 BOARD_BOOT_HEADER_VERSION := 2
15 BOARD_KERNEL_PAGESIZE := 2048
16endif
John Stultzf36354e2020-01-14 00:10:06 +000017BOARD_MKBOOTIMG_ARGS := --header_version $(BOARD_BOOT_HEADER_VERSION)
18BOARD_KERNEL_BASE := 0x80000000
John Stultzd66daf42020-01-15 18:28:42 +000019BOARD_KERNEL_CMDLINE := earlycon firmware_class.path=/vendor/firmware/ androidboot.hardware=db845c
Yongqin Liuf227a812020-03-27 18:31:25 +080020BOARD_KERNEL_CMDLINE += init=/init androidboot.boot_devices=soc@0/1d84000.ufshc printk.devkmsg=on
John Stultz64dbd9c2020-04-17 05:33:08 +000021BOARD_KERNEL_CMDLINE += deferred_probe_timeout=30
John Stultzf36354e2020-01-14 00:10:06 +000022
Amit Pundir4e375822019-04-18 16:46:10 +053023# Image Configuration
24BOARD_BOOTIMAGE_PARTITION_SIZE := 67108864 #64M
25BOARD_USERDATAIMAGE_PARTITION_SIZE := 21474836480 #20G
26BOARD_FLASH_BLOCK_SIZE := 512
27# Super partition
Amit Pundir7d3a1ac2020-10-07 18:26:24 +053028BOARD_SUPER_PARTITION_SIZE := 12437225472
Tianjie78c25362021-03-18 12:08:46 -070029BOARD_DB_DYNAMIC_PARTITIONS_SIZE := 12433031168 # Reserve 4M for DAP metadata
Amit Pundir4e375822019-04-18 16:46:10 +053030BOARD_SUPER_PARTITION_METADATA_DEVICE := super
Todd Kjosb611b162020-03-09 14:14:27 -070031BOARD_SUPER_IMAGE_IN_UPDATE_PACKAGE := true