A System Trace Module (STM) is a device exporting data in System Trace Protocol
(STP) format as defined by MIPI STP standards.Examples of such devices are
Intel(R) Trace Hub and Coresight STM.
And the Intel(R) Software Trace Hub uses stm class device to interface with its
sources.


Signed-off-by: Jun Miao <[email protected]>
---
 bsp/intel-x86/intel-x86.scc | 1 +
 features/stm/stm.cfg        | 7 +++++++
 features/stm/stm.scc        | 4 ++++
 3 files changed, 12 insertions(+)
 create mode 100644 features/stm/stm.cfg
 create mode 100644 features/stm/stm.scc

diff --git a/bsp/intel-x86/intel-x86.scc b/bsp/intel-x86/intel-x86.scc
index 6e94ef9f..7b606078 100644
--- a/bsp/intel-x86/intel-x86.scc
+++ b/bsp/intel-x86/intel-x86.scc
@@ -43,6 +43,7 @@ include features/intel-pinctrl/intel-pinctrl.scc
 include features/mgag200/mgag200.scc
 include features/thunderbolt/thunderbolt.scc
 include features/intel-th/intel-th.scc
+include features/stm/stm.scc
 
 kconf hardware intel-x86.cfg
 kconf hardware intel-x86-mga.cfg
diff --git a/features/stm/stm.cfg b/features/stm/stm.cfg
new file mode 100644
index 00000000..83fe45a9
--- /dev/null
+++ b/features/stm/stm.cfg
@@ -0,0 +1,7 @@
+CONFIG_STM=m
+CONFIG_STM_PROTO_BASIC=m
+CONFIG_STM_PROTO_SYS_T=m
+CONFIG_STM_DUMMY=m
+CONFIG_STM_SOURCE_CONSOLE=m
+CONFIG_STM_SOURCE_HEARTBEAT=m
+CONFIG_STM_SOURCE_FTRACE=m
diff --git a/features/stm/stm.scc b/features/stm/stm.scc
new file mode 100644
index 00000000..1e340623
--- /dev/null
+++ b/features/stm/stm.scc
@@ -0,0 +1,4 @@
+# SPDX-License-Identifier: MIT
+define KFEATURE_DESCRIPTION "A System Trace Module support"
+
+kconf hardware stm.cfg
-- 
2.24.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#8623): 
https://lists.yoctoproject.org/g/linux-yocto/message/8623
Mute This Topic: https://lists.yoctoproject.org/mt/73301268/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to