blob: 5fb9b1ef35512ee3b841c49a4873920852f72cbe [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
Dmitry Shmidt5d080802017-04-11 14:20:03 -070014TARGET_NO_DTIMAGE := true
15
Amit Pundiraf628c22016-11-02 16:37:00 +080016BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1610612736
17ifeq ($(TARGET_USERDATAIMAGE_4GB), true)
18BOARD_USERDATAIMAGE_PARTITION_SIZE := 1595915776
19else
20BOARD_USERDATAIMAGE_PARTITION_SIZE := 5588893184
21endif
22BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456
23BOARD_FLASH_BLOCK_SIZE := 131072