summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/qmss-lld
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@konsulko.com>2022-02-22 04:13:07 +0000
committerRyan Eatmon <reatmon@ti.com>2022-02-22 12:01:30 -0600
commitdd558151806beb2ac95356a7a8275498ccddf125 (patch)
treeaebcb3192f0e813db6048c82fb965ee607af5147 /recipes-bsp/qmss-lld
parentedf5e8ca6cc0728abbc47834bcd74837621c28ec (diff)
downloadmeta-ti-dd558151806beb2ac95356a7a8275498ccddf125.tar.gz
recipes-bsp: remove Keystone1/2 LLDs
Low Level Drivers (LLDs) were used by Keystone1/2 to access peripherals by RTOS and Linux. Remove due to deprecation. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'recipes-bsp/qmss-lld')
-rw-r--r--recipes-bsp/qmss-lld/qmss-lld-rtos_git.bb9
-rw-r--r--recipes-bsp/qmss-lld/qmss-lld-test_git.bb30
-rw-r--r--recipes-bsp/qmss-lld/qmss-lld.inc19
-rw-r--r--recipes-bsp/qmss-lld/qmss-lld_git.bb38
4 files changed, 0 insertions, 96 deletions
diff --git a/recipes-bsp/qmss-lld/qmss-lld-rtos_git.bb b/recipes-bsp/qmss-lld/qmss-lld-rtos_git.bb
deleted file mode 100644
index d854e0bc..00000000
--- a/recipes-bsp/qmss-lld/qmss-lld-rtos_git.bb
+++ /dev/null
@@ -1,9 +0,0 @@
1inherit ti-pdk
2
3require qmss-lld.inc
4
5PR = "${INC_PR}.1"
6
7COMPATIBLE_MACHINE:append = "|c66x"
8
9DEPENDS:append = " rm-lld-rtos"
diff --git a/recipes-bsp/qmss-lld/qmss-lld-test_git.bb b/recipes-bsp/qmss-lld/qmss-lld-test_git.bb
deleted file mode 100644
index 53f6dcff..00000000
--- a/recipes-bsp/qmss-lld/qmss-lld-test_git.bb
+++ /dev/null
@@ -1,30 +0,0 @@
1DESCRIPTION = "TI QMSS low level driver unit test and example binaries"
2
3DEPENDS = "common-csl-ip rm-lld cppi-lld qmss-lld cmem uio-module-drv"
4
5include qmss-lld.inc
6
7PR = "${INC_PR}.2"
8
9CHOICELIST = "yes no"
10
11CFLAGS += "-fcommon"
12
13do_compile () {
14# Now build the lld in the updated directory
15 for device in ${DEVICELIST}
16 do
17 make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" QMSS_SRC_DIR=${S}
18 for choice in ${CHOICELIST}
19 do
20 make -f makefile_armv7 tests examples PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" QMSS_SRC_DIR=${S} USEDYNAMIC_LIB="$choice"
21 done
22 done
23}
24
25do_install () {
26 for device in ${DEVICELIST}
27 do
28 make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" QMSS_SRC_DIR=${S} INSTALL_BIN_BASE_DIR=${D}${bindir}
29 done
30}
diff --git a/recipes-bsp/qmss-lld/qmss-lld.inc b/recipes-bsp/qmss-lld/qmss-lld.inc
deleted file mode 100644
index 35a06af1..00000000
--- a/recipes-bsp/qmss-lld/qmss-lld.inc
+++ /dev/null
@@ -1,19 +0,0 @@
1LICENSE = "BSD-3-Clause & TI-TFL"
2LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/qmss/COPYING.txt;md5=cd04fb087063a2a82c4ce61983836871"
3
4COMPATIBLE_MACHINE = "keystone"
5PACKAGE_ARCH = "${MACHINE_ARCH}"
6
7inherit ti-pdk-fetch
8
9TI_PDK_COMP = "ti.drv.qmss"
10
11PE = "1"
12
13INC_PR = "r0"
14
15DEVICELIST = "k2h k2k k2l k2e"
16DEVICELIST:k2hk = "k2h k2k"
17DEVICELIST:k2l = "k2l"
18DEVICELIST:k2e = "k2e"
19DEVICELIST:k2g = "k2h"
diff --git a/recipes-bsp/qmss-lld/qmss-lld_git.bb b/recipes-bsp/qmss-lld/qmss-lld_git.bb
deleted file mode 100644
index 96c664a1..00000000
--- a/recipes-bsp/qmss-lld/qmss-lld_git.bb
+++ /dev/null
@@ -1,38 +0,0 @@
1DESCRIPTION = "TI QMSS low level driver library"
2
3DEPENDS = "common-csl-ip rm-lld"
4
5include qmss-lld.inc
6
7PR = "${INC_PR}.1"
8
9do_compile () {
10# Now build the lld
11 make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR}
12 for device in ${DEVICELIST}
13 do
14 make -f makefile_armv7 lib PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="${device}"
15 done
16}
17
18do_install () {
19 make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
20 chown -R root:root ${D}
21
22 # Set the generic device library symbolic link to default k2h
23 cd ${D}${libdir}
24
25 # Link only the first device in the list
26 for device in ${DEVICELIST}
27 do
28 ln -sf libqmss_${device}.so.1.0.0 libqmss_device.so.1
29 break
30 done
31 ln -sf libqmss_device.so.1 libqmss_device.so
32}
33
34INHIBIT_PACKAGE_STRIP_FILES:k2hk = "${PKGD}${libdir}/libqmss_k2h.a ${PKGD}${libdir}/libqmss_k2k.a"
35INHIBIT_PACKAGE_STRIP_FILES:k2e = "${PKGD}${libdir}/libqmss_k2e.a"
36INHIBIT_PACKAGE_STRIP_FILES:k2l = "${PKGD}${libdir}/libqmss_k2l.a"
37INHIBIT_PACKAGE_STRIP_FILES:k2g = "${PKGD}${libdir}/libqmss_k2h.a"
38INHIBIT_PACKAGE_STRIP_FILES:append = " ${PKGD}${libdir}/libqmss.a"