aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Dechesne <ndechesne@users.noreply.github.com>2021-07-13 10:48:37 +0200
committerGitHub <noreply@github.com>2021-07-13 10:48:37 +0200
commit26078e633f658c184574350b5ad570cc9954e42e (patch)
tree524f660a015768320d466c06594a39d38a9ecce3
parent189fe8bc526b989088aa01d2bb3d9946d1cde952 (diff)
parent560f7096045af87bb5728475332b6f416126d349 (diff)
downloadmeta-qcom-26078e633f658c184574350b5ad570cc9954e42e.tar.gz
meta-qcom-26078e633f658c184574350b5ad570cc9954e42e.tar.bz2
meta-qcom-26078e633f658c184574350b5ad570cc9954e42e.zip
Merge pull request #314 from lumag/no-lt9611uxc-upgrade
qrb5165-rb5: drop lt9611uxc-upgrade
-rw-r--r--conf/machine/qrb5165-rb5.conf1
-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
4 files changed, 0 insertions, 52 deletions
diff --git a/conf/machine/qrb5165-rb5.conf b/conf/machine/qrb5165-rb5.conf
index f261075..32713d3 100644
--- a/conf/machine/qrb5165-rb5.conf
+++ b/conf/machine/qrb5165-rb5.conf
@@ -15,7 +15,6 @@ SERIAL_CONSOLE ?= "115200 ttyMSM0"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += " \
kernel-modules \
firmware-qcom-rb5 linux-firmware-lt9611uxc \
- lt9611uxc-upgrade \
${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'linux-firmware-ath11k wireless-regdb-static', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'linux-firmware-qca', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-msm', '', d)} \
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