blob: 95cc903dced50b9970d82414673c2937ab98a91c [file] [log] [blame]
Amit Pundirc738b812019-06-19 16:13:49 +05301include device/xiaomi/beryllium/BoardConfigCommon.mk
2
3# Copied from https://github.com/LineageOS/android_device_xiaomi_sdm845-common/blob/lineage-16.0/BoardConfigCommon.mk
4# Board Information
5TARGET_BOOTLOADER_BOARD_NAME := aosp_beryllium
6TARGET_BOARD_PLATFORM := aosp_beryllium
7
Amit Pundir276a0552019-11-23 22:27:15 +05308# Kernel/boot.img Configuration
Amit Pundirc738b812019-06-19 16:13:49 +05309BOARD_KERNEL_BASE := 0x00000000
10BOARD_KERNEL_PAGESIZE := 4096
11BOARD_KERNEL_TAGS_OFFSET := 0x00000100
12BOARD_RAMDISK_OFFSET := 0x01000000
Amit Pundir8bc74862020-01-28 17:10:59 +053013BOARD_KERNEL_CMDLINE := console=ttyMSM0,115200n8 androidboot.console=ttyMSM0
14BOARD_KERNEL_CMDLINE += androidboot.hardware=aosp_beryllium androidboot.boot_devices=soc/1d84000.ufshc
15BOARD_KERNEL_CMDLINE += firmware_class.path=/vendor/firmware/ init=/init
Amit Pundir3f8fe172020-01-30 20:00:47 +053016BOARD_KERNEL_CMDLINE += pd_ignore_unused clk_ignore_inherited
Amit Pundirc738b812019-06-19 16:13:49 +053017
18# Image Configuration
19BOARD_BOOTIMAGE_PARTITION_SIZE := 67108864 #64M
20BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3221225472
21BOARD_USERDATAIMAGE_PARTITION_SIZE := 57453555712
22BOARD_VENDORIMAGE_PARTITION_SIZE := 536870912
23BOARD_FLASH_BLOCK_SIZE := 262144