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