blob: 9996f485efffb89510c0a76d3be157a4a7925c41 [file] [log] [blame]
Amit Pundiraf628c22016-11-02 16:37:00 +08001include device/linaro/hikey/BoardConfigCommon.mk
2
3TARGET_BOARD_PLATFORM := hikey
Dmitry Shmidt6a9f9842017-05-11 17:05:01 -07004ifeq ($(TARGET_KERNEL_USE), 3.18)
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 Liuc48cae62017-03-28 22:44:07 +080010## printk.devkmsg only has meaning for kernel 4.9 and later
Dmitry Shmidt6a9f9842017-05-11 17:05:01 -070011## it would be ignored by kernel 3.18 and kernel 4.4
Yongqin Liuc48cae62017-03-28 22:44:07 +080012BOARD_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