summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2016-07-28 13:47:54 -0700
committerDmitry Shmidt <dimitrysh@google.com>2016-07-28 14:07:01 -0700
commit510fa77059150f0f1469696d3372b7f985cf3740 (patch)
tree3e3f369fca5e8f61795a4efee979930d2803ccaf
parentc85a778f136d8376bf4a04d42290f3ee0cd2f82b (diff)
downloadhikey-510fa77059150f0f1469696d3372b7f985cf3740.tar.gz
hikey: Fix serial console for kernel 4.1
Change-Id: I51ca9d5861119f3894446656c467a08188827a81 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
-rw-r--r--BoardConfig.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index c63226a8..3dfc149c 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -30,7 +30,11 @@ BOARD_WPA_SUPPLICANT_DRIVER := NL80211
BOARD_HOSTAPD_DRIVER := NL80211
CONFIG_DRIVER_NL80211 := y
+ifeq ($(TARGET_KERNEL_USE_4_1), true)
+BOARD_KERNEL_CMDLINE := console=ttyAMA3,115200 androidboot.console=ttyAMA3 androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime
+else
BOARD_KERNEL_CMDLINE := console=ttyFIQ0 androidboot.console=ttyFIQ0 androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime
+endif
TARGET_NO_BOOTLOADER := true
TARGET_NO_KERNEL := false