Useful for example on TI boards and enabled also in kernel.org arm64
defconfig.

Signed-off-by: Mikko Rapeli <[email protected]>
---
 features/net/hsr.cfg | 1 +
 features/net/hsr.scc | 3 +++
 kern-features.rc     | 1 +
 3 files changed, 5 insertions(+)
 create mode 100644 features/net/hsr.cfg
 create mode 100644 features/net/hsr.scc

diff --git a/features/net/hsr.cfg b/features/net/hsr.cfg
new file mode 100644
index 000000000000..e930c69f4396
--- /dev/null
+++ b/features/net/hsr.cfg
@@ -0,0 +1 @@
+CONFIG_HSR=m
diff --git a/features/net/hsr.scc b/features/net/hsr.scc
new file mode 100644
index 000000000000..74e3fe058809
--- /dev/null
+++ b/features/net/hsr.scc
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: MIT
+define KFEATURE_DESCRIPTION "Enable High-availability Seamless Redundancy (HSR 
& PRP)"
+kconf non-hardware hsr.cfg
diff --git a/kern-features.rc b/kern-features.rc
index 93fc7f1a243b..fbd4216b66f7 100644
--- a/kern-features.rc
+++ b/kern-features.rc
@@ -215,6 +215,7 @@
        config = features/sram/sram.scc
        config = features/iwlwifi/iwlwifi.scc
        config = features/intel-npu/intel-npu.scc
+       config = features/net/hsr.scc
        config = features/net/mellanox/mellanox.scc
        config = features/spi/spi.scc
        config = features/spi/spidev.scc
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16117): 
https://lists.yoctoproject.org/g/linux-yocto/message/16117
Mute This Topic: https://lists.yoctoproject.org/mt/117176726/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to