summaryrefslogtreecommitdiff
path: root/init.bullhead.nanohub.rc
diff options
context:
space:
mode:
authorSimon Wilson <simonwilson@google.com>2015-10-08 15:32:28 -0700
committerSimon Wilson <simonwilson@google.com>2015-10-08 15:32:28 -0700
commit6a4690c8fe5bb21c62125ce290453646bb0015da (patch)
treeee87a80cd794827357400f15e55ee2b65774f35b /init.bullhead.nanohub.rc
parent16237c4e17b1e2ab48dcec8a337b0129b8ec40e0 (diff)
downloadbullhead-6a4690c8fe5bb21c62125ce290453646bb0015da.tar.gz
Allow alternative sensorhub implementation
Nanohub requires the use of an alternative Linux kernel, sensor HALs, and related utils. When TARGET_USES_CHINOOK_SENSORHUB is false or unset, use the alternatives. The change also moves the TARGET_USES_CHINOOK_SENSORHUB from vendor to device. The variable is used in both places so the location should be in device, not vendor (since vendor is optional). Change-Id: I94e6de4b09a5a95baef72e7d1be0652539555104
Diffstat (limited to 'init.bullhead.nanohub.rc')
-rw-r--r--init.bullhead.nanohub.rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.bullhead.nanohub.rc b/init.bullhead.nanohub.rc
new file mode 100644
index 0000000..63c3258
--- /dev/null
+++ b/init.bullhead.nanohub.rc
@@ -0,0 +1,2 @@
+on post-fs
+ write /sys/class/nanohub/nanohub/download_bl 1