blob: f45299016489916f44ab09f21afac09b2024a5fd [file] [log] [blame]
Amit Pundiraf628c22016-11-02 16:37:00 +08001include device/linaro/hikey/BoardConfigCommon.mk
2
3TARGET_BOARD_PLATFORM := hikey
Dmitry Shmidtb4e1ed02017-02-13 14:39:37 -08004ifeq ($(TARGET_KERNEL_USE), 4.1)
Amit Pundiraf628c22016-11-02 16:37:00 +08005BOARD_KERNEL_CMDLINE := console=ttyAMA3,115200 androidboot.console=ttyAMA3 androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime
6else
7BOARD_KERNEL_CMDLINE := console=ttyFIQ0 androidboot.console=ttyFIQ0 androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime
8endif
9
Yongqin Liudb3edca2017-03-28 22:44:07 +080010## printk.devkmsg only has meaning for kernel 4.9 and later
11## it would be ignored by kernel 4.1 and kernel 4.4
12BOARD_KERNEL_CMDLINE += printk.devkmsg=on
13
Amit Pundiraf628c22016-11-02 16:37:00 +080014BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1610612736
15ifeq ($(TARGET_USERDATAIMAGE_4GB), true)
16BOARD_USERDATAIMAGE_PARTITION_SIZE := 1595915776
17else
18BOARD_USERDATAIMAGE_PARTITION_SIZE := 5588893184
19endif
20BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456
21BOARD_FLASH_BLOCK_SIZE := 131072