Add optee feature and enable it in ti-am62 BSP.

Signed-off-by: Meng Li <meng...@windriver.com>
---
 bsp/ti-am62/ti-am62.cfg  | 0
 bsp/ti-am62/ti-am62.scc  | 2 ++
 features/optee/optee.cfg | 3 +++
 features/optee/optee.scc | 4 ++++
 4 files changed, 9 insertions(+)
 mode change 100755 => 100644 bsp/ti-am62/ti-am62.cfg
 create mode 100644 features/optee/optee.cfg
 create mode 100644 features/optee/optee.scc

diff --git a/bsp/ti-am62/ti-am62.cfg b/bsp/ti-am62/ti-am62.cfg
old mode 100755
new mode 100644
diff --git a/bsp/ti-am62/ti-am62.scc b/bsp/ti-am62/ti-am62.scc
index 9a0dda7f..3d10246a 100644
--- a/bsp/ti-am62/ti-am62.scc
+++ b/bsp/ti-am62/ti-am62.scc
@@ -4,5 +4,7 @@ include cfg/fs/flash_fs.cfg
 include features/hugetlb/hugetlb.scc
 # Enable the ability to run 32 bit apps
 include arch/arm/32bit-compat.scc
+# Enable optee
+include features/optee/optee.scc
 
 kconf hardware ti-am62.cfg
diff --git a/features/optee/optee.cfg b/features/optee/optee.cfg
new file mode 100644
index 00000000..3aa27f0a
--- /dev/null
+++ b/features/optee/optee.cfg
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: MIT
+CONFIG_TEE=y
+CONFIG_OPTEE=y
diff --git a/features/optee/optee.scc b/features/optee/optee.scc
new file mode 100644
index 00000000..db4c19e5
--- /dev/null
+++ b/features/optee/optee.scc
@@ -0,0 +1,4 @@
+# SPDX-License-Identifier: MIT
+define KFEATURE_DESCRIPTION "Enable optee support"
+
+kconf hardware optee.cfg
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13595): 
https://lists.yoctoproject.org/g/linux-yocto/message/13595
Mute This Topic: https://lists.yoctoproject.org/mt/104509211/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to