aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2021-07-11 04:44:10 +0300
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>2021-07-11 04:44:10 +0300
commit560f7096045af87bb5728475332b6f416126d349 (patch)
tree524f660a015768320d466c06594a39d38a9ecce3
parent5e9229341beedfe19de450c924275387b76616b7 (diff)
downloadmeta-qcom-560f7096045af87bb5728475332b6f416126d349.tar.gz
meta-qcom-560f7096045af87bb5728475332b6f416126d349.tar.bz2
meta-qcom-560f7096045af87bb5728475332b6f416126d349.zip
lt9611uxc-upgrade: drop recipe
Drop lt9611uxc-upgrade recipe, it is not used anymore. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
-rw-r--r--recipes-bsp/lt9611uxc-upgrade/lt9611uxc-upgrade.bb19
-rw-r--r--recipes-bsp/lt9611uxc-upgrade/lt9611uxc-upgrade/lt9611uxc-upgrade.sh21
-rw-r--r--recipes-bsp/lt9611uxc-upgrade/lt9611uxc-upgrade/lt9611uxc.service11
3 files changed, 0 insertions, 51 deletions
diff --git a/recipes-bsp/lt9611uxc-upgrade/lt9611uxc-upgrade.bb b/recipes-bsp/lt9611uxc-upgrade/lt9611uxc-upgrade.bb
deleted file mode 100644
index e6ae271..0000000
--- a/recipes-bsp/lt9611uxc-upgrade/lt9611uxc-upgrade.bb
+++ /dev/null
@@ -1,19 +0,0 @@
-SUMMARY = "Upgrade Lontium LT9611UXC firmware to the latest image"
-
-SRC_URI = "file://lt9611uxc.service file://lt9611uxc-upgrade.sh"
-LICENSE = "MIT"
-
-LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
-
-inherit systemd
-
-RDEPENDS_${PN} += "linux-firmware-lt9611uxc"
-
-do_install() {
- install -d ${D}${bindir}
- install -m 0755 ${WORKDIR}/lt9611uxc-upgrade.sh ${D}${bindir}
- install -d ${D}${systemd_system_unitdir}
- install -m 0644 ${WORKDIR}/lt9611uxc.service ${D}${systemd_system_unitdir}
-}
-
-SYSTEMD_SERVICE_${PN} = "lt9611uxc.service"
diff --git a/recipes-bsp/lt9611uxc-upgrade/lt9611uxc-upgrade/lt9611uxc-upgrade.sh b/recipes-bsp/lt9611uxc-upgrade/lt9611uxc-upgrade/lt9611uxc-upgrade.sh
deleted file mode 100644
index 9f72525..0000000
--- a/recipes-bsp/lt9611uxc-upgrade/lt9611uxc-upgrade/lt9611uxc-upgrade.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ ! -r /lib/firmware/lt9611uxc_fw.bin ] ; then
- echo "LT9611UXC firmware not found"
- exit 1
-fi
-
-if [ ! -d /sys/bus/i2c/drivers/lt9611uxc ] ; then
- modprobe lontium-lt9611uxc
- sleep 1
-fi
-
-for f in /sys/bus/i2c/drivers/lt9611uxc/* ; do
- [ -e $f/lt9611uxc_firmware ] || continue
- version=`cat $f/lt9611uxc_firmware`
- if [ "$version" -lt "43" ] ; then
- echo > $f/lt9611uxc_firmware
- fi
-done
diff --git a/recipes-bsp/lt9611uxc-upgrade/lt9611uxc-upgrade/lt9611uxc.service b/recipes-bsp/lt9611uxc-upgrade/lt9611uxc-upgrade/lt9611uxc.service
deleted file mode 100644
index 79c510c..0000000
--- a/recipes-bsp/lt9611uxc-upgrade/lt9611uxc-upgrade/lt9611uxc.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=Update LT9611UXC Firmware
-ConditionFirstBoot=true
-After=systemd-udev-settle.service
-
-[Service]
-Type=oneshot
-ExecStart=/usr/bin/lt9611uxc-upgrade.sh
-
-[Install]
-WantedBy=getty.target