From: Ji Luo Date: Thu, 13 Nov 2025 08:21:45 +0000 (+0800) Subject: imx95_evk: Initialize the ELE RNG context X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a4c79dd2fd83da1aa178f8504d7aa48a0554d32;p=thirdparty%2Fu-boot.git imx95_evk: Initialize the ELE RNG context OP-TEE requires a trusted RNG. This is provided by ELE on i.MX95. Start the initialization of the ELE RNG context before OP-TEE startup to allow OP-TEE to derive RNG later. Signed-off-by: Ji Luo Signed-off-by: Alice Guo --- diff --git a/board/freescale/imx95_evk/spl.c b/board/freescale/imx95_evk/spl.c index 3d64097b4c7..48b47d2aed9 100644 --- a/board/freescale/imx95_evk/spl.c +++ b/board/freescale/imx95_evk/spl.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -32,7 +33,13 @@ int spl_board_boot_device(enum boot_device boot_dev_spl) void spl_board_init(void) { + int ret; + puts("Normal Boot\n"); + + ret = ele_start_rng(); + if (ret) + printf("Fail to start RNG: %d\n", ret); } void board_init_f(ulong dummy)