blob: 7844ecbb5a86fb4cef0a47f29140ad55c23fd6d8 [file] [log] [blame]
Amit Pundiraf628c22016-11-02 16:37:00 +08001include device/linaro/hikey/BoardConfigCommon.mk
2
Jake Weinsteinf2de1342017-06-23 12:23:08 -04003TARGET_CPU_VARIANT := cortex-a53
4TARGET_2ND_CPU_VARIANT := cortex-a53
5
Amit Pundiraf628c22016-11-02 16:37:00 +08006TARGET_BOARD_PLATFORM := hikey
Dmitry Shmidt20f2bc12017-05-11 17:05:01 -07007ifeq ($(TARGET_KERNEL_USE), 3.18)
Amit Pundiraf628c22016-11-02 16:37:00 +08008BOARD_KERNEL_CMDLINE := console=ttyAMA3,115200 androidboot.console=ttyAMA3 androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime
9else
10BOARD_KERNEL_CMDLINE := console=ttyFIQ0 androidboot.console=ttyFIQ0 androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime
11endif
12
Yongqin Liudb3edca2017-03-28 22:44:07 +080013## printk.devkmsg only has meaning for kernel 4.9 and later
Dmitry Shmidt20f2bc12017-05-11 17:05:01 -070014## it would be ignored by kernel 3.18 and kernel 4.4
Yongqin Liudb3edca2017-03-28 22:44:07 +080015BOARD_KERNEL_CMDLINE += printk.devkmsg=on
16
Dmitry Shmidt5d080802017-04-11 14:20:03 -070017TARGET_NO_DTIMAGE := true
18
Amit Pundiraf628c22016-11-02 16:37:00 +080019BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1610612736
20ifeq ($(TARGET_USERDATAIMAGE_4GB), true)
21BOARD_USERDATAIMAGE_PARTITION_SIZE := 1595915776
22else
23BOARD_USERDATAIMAGE_PARTITION_SIZE := 5588893184
24endif
25BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456
26BOARD_FLASH_BLOCK_SIZE := 131072