summaryrefslogtreecommitdiff
path: root/hikey
diff options
context:
space:
mode:
authorBen Fennema <fennema@google.com>2017-10-17 12:24:04 -0700
committerBen Fennema <fennema@google.com>2017-10-24 17:22:31 -0700
commit52301e4261283957d0ee27960a0a3387516a3aca (patch)
tree318e0a04114ee27ae7a40a133e084507019ac752 /hikey
parent15186cf2a2563277c188c7b260ca082de64e1145 (diff)
downloadhikey-52301e4261283957d0ee27960a0a3387516a3aca.tar.gz
hikey: Add support for contexthub hal and neonkey / argonkey sensor hal
Compile: make TARGET_SENSOR_MEZZANINE=<mezzanine_name> (<mezzanine_name> can be neonkey or argonkey) Test: builds Change-Id: I11c2734965b96cb34aef7558b7c822d0e5ea5c65 Signed-off-by: Ben Fennema <fennema@google.com>
Diffstat (limited to 'hikey')
-rw-r--r--hikey/BoardConfig.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/hikey/BoardConfig.mk b/hikey/BoardConfig.mk
index 0cf35278..26389c10 100644
--- a/hikey/BoardConfig.mk
+++ b/hikey/BoardConfig.mk
@@ -12,6 +12,10 @@ else
BOARD_KERNEL_CMDLINE := console=ttyFIQ0 androidboot.console=ttyFIQ0 androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime
endif
+ifneq ($(TARGET_SENSOR_MEZZANINE),)
+BOARD_KERNEL_CMDLINE += overlay_mgr.overlay_dt_entry=hardware_cfg_$(TARGET_SENSOR_MEZZANINE)
+endif
+
## printk.devkmsg only has meaning for kernel 4.9 and later
## it would be ignored by kernel 3.18 and kernel 4.4
BOARD_KERNEL_CMDLINE += printk.devkmsg=on