summaryrefslogtreecommitdiff
path: root/recipes-bsp/multitech/mts-io
diff options
context:
space:
mode:
authorMike Nicholson <mike.nicholson@multitech.com>2019-01-07 14:22:45 -0600
committerJohn Klug <john.klug@multitech.com>2019-07-03 11:22:01 -0500
commitb14d10c39f1cf8f85bc13769076ab4df96209f4c (patch)
tree7f0f59ebd57c2565f8de7b0077a611a39479e807 /recipes-bsp/multitech/mts-io
parent2d9671517887a325a06c402ee5fe23a8d4bfa1ad (diff)
downloadmeta-multitech-b14d10c39f1cf8f85bc13769076ab4df96209f4c.tar.gz
meta-multitech-b14d10c39f1cf8f85bc13769076ab4df96209f4c.tar.bz2
meta-multitech-b14d10c39f1cf8f85bc13769076ab4df96209f4c.zip
Add call to inform kernel about firmware (i2c EEPROM) location
Diffstat (limited to 'recipes-bsp/multitech/mts-io')
-rw-r--r--recipes-bsp/multitech/mts-io/mts-io.init3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-bsp/multitech/mts-io/mts-io.init b/recipes-bsp/multitech/mts-io/mts-io.init
index 3c4fad2..4c2aedf 100644
--- a/recipes-bsp/multitech/mts-io/mts-io.init
+++ b/recipes-bsp/multitech/mts-io/mts-io.init
@@ -252,6 +252,9 @@ set_gpslink() {
case $1 in
start)
+ # Point the firmware API at our i2c EEPROMs
+ echo -n ${i2c} > /sys/module/firmware_class/parameters/path
+
/usr/bin/logger -t "mts-io" -p daemon.info -s "Loading mts-io module"
if ! modprobe mts_io ; then
((fail++))