mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2026-07-04 01:58:48 +00:00
The addition of new Widevine properties caused the generated device tree to consume more space. While the final size in ATF was under 1024 bytes, the OP-TEE OS performs in-place updates to the FDT after handoff. These updates exceeded the previous 1024-byte buffer, leading to silent corruption of the adjacent opteed_sp_context array and an assertion failure in opteed_common.c:79. Increase OPTEED_FDT_SIZE to 2048 to provide sufficient headroom for OP-TEE's runtime fixups. This matches OP-TEE's CFG_DTB_MAX_SIZE setting and ensures consistency between the two components. Change-Id: I76581779b214ff86ca1c5b141d0bb44b1ea606c5 Signed-off-by: Yidi Lin <yidilin@google.com>