blob: 415cff11e9479d330653b1b243ff8cc8973ba770 [file] [log] [blame]
Amit Pundire4ca84a2021-05-26 14:30:57 +05301include device/linaro/dragonboard/BoardConfigCommon.mk
2
3# Board Information
4TARGET_BOOTLOADER_BOARD_NAME := rb5
5TARGET_BOARD_PLATFORM := rb5
6
7TARGET_NO_KERNEL := false
8BOARD_KERNEL_BASE := 0x80000000
9BOARD_KERNEL_PAGESIZE := 4096
10
11BOARD_INCLUDE_DTB_IN_BOOTIMG := true
12BOARD_BOOT_HEADER_VERSION := 3
13BOARD_MKBOOTIMG_ARGS := --header_version $(BOARD_BOOT_HEADER_VERSION)
14
15BOARD_KERNEL_CMDLINE := earlycon firmware_class.path=/vendor/firmware/ androidboot.hardware=rb5
16BOARD_KERNEL_CMDLINE += init=/init androidboot.boot_devices=soc@0/1d84000.ufshc printk.devkmsg=on
17BOARD_KERNEL_CMDLINE += pcie_pme=nomsi #For WiFi to work
18BOARD_KERNEL_CMDLINE += deferred_probe_timeout=30
19
20# Image Configuration
21BOARD_BOOTIMAGE_PARTITION_SIZE := 67108864 #64M
22BOARD_VENDOR_BOOTIMAGE_PARTITION_SIZE := 67108864 #64M
23BOARD_USERDATAIMAGE_PARTITION_SIZE := 21474836480
24BOARD_FLASH_BLOCK_SIZE := 131072
25
26# Super/Dynamic partition
27BOARD_SUPER_PARTITION_SIZE := 12437225472
28BOARD_DB_DYNAMIC_PARTITIONS_SIZE := 12433031168 # Reserve 4M for DAP metadata
29BOARD_SUPER_PARTITION_METADATA_DEVICE := super
30BOARD_SUPER_IMAGE_IN_UPDATE_PACKAGE := true