summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/recipes-ti/ipc
diff options
context:
space:
mode:
authorAndrew Davis <afd@ti.com>2025-12-03 14:32:10 -0600
committerRyan Eatmon <reatmon@ti.com>2025-12-19 09:57:39 -0600
commit3a9e75ebba1d373e2e7c4912ebebd375dea7e2fc (patch)
tree69f4c3be2049dc5cca8dc11195d512a4481a0d9e /meta-ti-bsp/recipes-ti/ipc
parent534edb03e51193a4b8b6d4254dc35a57f19b9c27 (diff)
downloadmeta-ti-3a9e75ebba1d373e2e7c4912ebebd375dea7e2fc.tar.gz
meta-ti/all: Make DRA7xx support a subset of AM57xx support
As AM57xx already defined both "dra7xx" and "am57xx" as SOC_FAMILY the AM57xx was effectively a superset MACHINE. Although not all features of AM57xx are needed for DRA7xx, make DRA7xx-EVM use the AM57xx definition. This allows us to still support DRA7xx as the only differences that impact device function are the selection of U-Boot defconfig, DTBs, and OPTEE, all handled by the MACHINE conf file which is left unchanged. Signed-off-by: Andrew Davis <afd@ti.com> Reviewed-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/recipes-ti/ipc')
-rw-r--r--meta-ti-bsp/recipes-ti/ipc/ti-ipc-common.inc2
-rw-r--r--meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb4
2 files changed, 3 insertions, 3 deletions
diff --git a/meta-ti-bsp/recipes-ti/ipc/ti-ipc-common.inc b/meta-ti-bsp/recipes-ti/ipc/ti-ipc-common.inc
index da7e4733..7006a9b6 100644
--- a/meta-ti-bsp/recipes-ti/ipc/ti-ipc-common.inc
+++ b/meta-ti-bsp/recipes-ti/ipc/ti-ipc-common.inc
@@ -6,7 +6,7 @@ COMPATIBLE_HOST ?= "null"
6COMPATIBLE_HOST:ti-soc = ".*-linux" 6COMPATIBLE_HOST:ti-soc = ".*-linux"
7 7
8PLATFORM = "UNKNOWN" 8PLATFORM = "UNKNOWN"
9PLATFORM:dra7xx = "DRA7XX" 9PLATFORM:am57xx = "DRA7XX"
10PLATFORM:omapl138 = "OMAPL138" 10PLATFORM:omapl138 = "OMAPL138"
11 11
12ALT_PLATFORM:am57xx = "AM572X AM571X" 12ALT_PLATFORM:am57xx = "AM572X AM571X"
diff --git a/meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb b/meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb
index 539a83f9..3e4be816 100644
--- a/meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb
+++ b/meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb
@@ -22,7 +22,7 @@ SRC_URI += "file://tiipclad-daemon.sh \
22CFLAGS += "-I${UNPACKDIR} -fdebug-prefix-map=${UNPACKDIR}=${TARGET_DBGSRC_DIR}" 22CFLAGS += "-I${UNPACKDIR} -fdebug-prefix-map=${UNPACKDIR}=${TARGET_DBGSRC_DIR}"
23 23
24DAEMON = "UNKNOWN" 24DAEMON = "UNKNOWN"
25DAEMON:dra7xx = "lad_dra7xx" 25DAEMON:am57xx = "lad_dra7xx"
26DAEMON:omapl138 = "lad_omapl138" 26DAEMON:omapl138 = "lad_omapl138"
27 27
28inherit autotools-brokensep pkgconfig update-rc.d systemd 28inherit autotools-brokensep pkgconfig update-rc.d systemd
@@ -55,7 +55,7 @@ do_install:append() {
55 install -c -m 755 ${UNPACKDIR}/tiipclad-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} 55 install -c -m 755 ${UNPACKDIR}/tiipclad-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
56} 56}
57 57
58do_install:append:dra7xx() { 58do_install:append:am57xx() {
59 install -d ${D}${sysconfdir}/modprobe.d/ 59 install -d ${D}${sysconfdir}/modprobe.d/
60 install -c -m 644 ${UNPACKDIR}/omap_remoteproc.conf ${D}${sysconfdir}/modprobe.d/ 60 install -c -m 644 ${UNPACKDIR}/omap_remoteproc.conf ${D}${sysconfdir}/modprobe.d/
61} 61}