1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-06-06 19:00:49 +00:00

optee: local fix for stray CFG_MAP_EXT_DT_SECURE=y in meta-arm

Latest update in meta-arm added unconditional CFG_MAP_EXT_DT_SECURE=y
that affects all platforms, but was only needed for qemu. And it also
depends on CFG_DT=y, which is platform-specific. The fix was submitted
upstream[0], overlay it locally until upstream resolves it.

[0] https://patchwork.yoctoproject.org/project/arm/patch/20230613181723.1711212-1-denis@denix.org/

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
Denys Dmytriyenko
2023-06-13 21:18:42 +00:00
committed by Ryan Eatmon
parent a0ce9c392f
commit 4c5461c237
3 changed files with 7 additions and 0 deletions
@@ -0,0 +1 @@
EXTRA_OEMAKE:remove = "CFG_MAP_EXT_DT_SECURE=y"
@@ -0,0 +1,4 @@
OPTEE_TI = ""
OPTEE_TI:ti-soc = "${BPN}-ti.inc"
require ${OPTEE_TI}
@@ -1,6 +1,8 @@
# Use TI SECDEV for signing
inherit ti-secdev
EXTRA_OEMAKE:remove = "CFG_MAP_EXT_DT_SECURE=y"
EXTRA_OEMAKE:append:k3 = "${@ ' CFG_CONSOLE_UART='+ d.getVar('OPTEE_K3_USART') if d.getVar('OPTEE_K3_USART') else ''}"
EXTRA_OEMAKE:append:am62xx = " CFG_WITH_SOFTWARE_PRNG=y CFG_TEE_CORE_LOG_LEVEL=1"