Amit Pundir | af628c2 | 2016-11-02 16:37:00 +0800 | [diff] [blame] | 1 | include device/linaro/hikey/BoardConfigCommon.mk |
| 2 | |
| 3 | TARGET_BOARD_PLATFORM := hikey |
Dmitry Shmidt | b4e1ed0 | 2017-02-13 14:39:37 -0800 | [diff] [blame] | 4 | ifeq ($(TARGET_KERNEL_USE), 4.1) |
Amit Pundir | af628c2 | 2016-11-02 16:37:00 +0800 | [diff] [blame] | 5 | BOARD_KERNEL_CMDLINE := console=ttyAMA3,115200 androidboot.console=ttyAMA3 androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime |
| 6 | else |
| 7 | BOARD_KERNEL_CMDLINE := console=ttyFIQ0 androidboot.console=ttyFIQ0 androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime |
| 8 | endif |
| 9 | |
| 10 | BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1610612736 |
| 11 | ifeq ($(TARGET_USERDATAIMAGE_4GB), true) |
| 12 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 1595915776 |
| 13 | else |
| 14 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 5588893184 |
| 15 | endif |
| 16 | BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456 |
| 17 | BOARD_FLASH_BLOCK_SIZE := 131072 |