diff options
author | John Klug <john.klug@multitech.com> | 2020-12-14 13:05:32 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2020-12-14 13:05:32 -0600 |
commit | aa67d0ede027f1515dff24c44cf4d6d75a98a7b2 (patch) | |
tree | 8c646a3134caffda2dba61694f2def043088059f | |
parent | 139dcd8f7e0f5848a16e8174cc8cf00f72b547b6 (diff) | |
download | meta-multitech-aa67d0ede027f1515dff24c44cf4d6d75a98a7b2.tar.gz meta-multitech-aa67d0ede027f1515dff24c44cf4d6d75a98a7b2.tar.bz2 meta-multitech-aa67d0ede027f1515dff24c44cf4d6d75a98a7b2.zip |
MTCDT3 needs no symlink for spi
-rw-r--r-- | recipes-bsp/multitech/mts-io.inc | 2 | ||||
-rwxr-xr-x | recipes-bsp/multitech/mts-io/mts-io.init | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/recipes-bsp/multitech/mts-io.inc b/recipes-bsp/multitech/mts-io.inc index 3fb4b79..b81e7f0 100644 --- a/recipes-bsp/multitech/mts-io.inc +++ b/recipes-bsp/multitech/mts-io.inc @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://io-module/COPYING;md5=94d55d512a9ba36caa9b7df079bae19 file://io-tool/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ " do_fetch[depends] += "virtual/kernel:do_shared_workdir" -INC_PR = "r2" +INC_PR = "r3" SRCREV = "${PV}" PR = "${INC_PR}.0-${KERNEL_MODULE_PACKAGE_SUFFIX}" diff --git a/recipes-bsp/multitech/mts-io/mts-io.init b/recipes-bsp/multitech/mts-io/mts-io.init index 0753ef1..5c524de 100755 --- a/recipes-bsp/multitech/mts-io/mts-io.init +++ b/recipes-bsp/multitech/mts-io/mts-io.init @@ -205,6 +205,11 @@ read_card_info() { lora_hw=$(${SYSFS} show lora/hw-version 2> /dev/null) + if [[ $hw_name == MTCDT3 ]] ; then + # SYM Link and spidev module is not needed in MTCDT3. + return 0 + fi + if [ -d $port1 ] && [[ $(cat $port1/hw-version) = $lora_hw ]]; then modprobe spidev ln -sf /dev/spidev32766.2 /dev/spidev0.0 |