Amit Pundir | c738b81 | 2019-06-19 16:13:49 +0530 | [diff] [blame] | 1 | include 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 |
| 5 | TARGET_BOOTLOADER_BOARD_NAME := aosp_beryllium |
| 6 | TARGET_BOARD_PLATFORM := aosp_beryllium |
| 7 | |
Amit Pundir | 276a055 | 2019-11-23 22:27:15 +0530 | [diff] [blame] | 8 | # Kernel/boot.img Configuration |
Amit Pundir | c738b81 | 2019-06-19 16:13:49 +0530 | [diff] [blame] | 9 | BOARD_KERNEL_BASE := 0x00000000 |
| 10 | BOARD_KERNEL_PAGESIZE := 4096 |
| 11 | BOARD_KERNEL_TAGS_OFFSET := 0x00000100 |
| 12 | BOARD_RAMDISK_OFFSET := 0x01000000 |
Amit Pundir | c738b81 | 2019-06-19 16:13:49 +0530 | [diff] [blame] | 13 | |
| 14 | # Image Configuration |
| 15 | BOARD_BOOTIMAGE_PARTITION_SIZE := 67108864 #64M |
| 16 | BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3221225472 |
| 17 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 57453555712 |
| 18 | BOARD_VENDORIMAGE_PARTITION_SIZE := 536870912 |
| 19 | BOARD_FLASH_BLOCK_SIZE := 262144 |