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
committerMike Nicholson <mike.nicholson@multitech.com>2019-01-07 14:23:45 -0600
commit37b63916ff3085053651fe2ce6abf4035133fe84 (patch)
treef722aef1129fe57f86aedc0621f52e5458875215 /recipes-bsp/multitech/mts-io
parent9975c9f348d1588ee8c67f4830ff053313d1c179 (diff)
downloadmeta-multitech-37b63916ff3085053651fe2ce6abf4035133fe84.tar.gz
meta-multitech-37b63916ff3085053651fe2ce6abf4035133fe84.tar.bz2
meta-multitech-37b63916ff3085053651fe2ce6abf4035133fe84.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++))