The HSM M4 core needs to be booted at R5 SPL stage so that it can be used for further Authentication and security services. Therefore, the firmware for the HSM core needs to be packed in tispl.bin fit image so that it can be used by R5 SPL to boot the HSM core.
Add a template for packing the HSM firmware in tispl.bin. The size of HSM firmware is padded upto 256 KB. The HSM binaries are unloaded at a temporary DDR address. Signed-off-by: Beleswar Padhi <b-pa...@ti.com> --- arch/arm/dts/k3-binman.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/dts/k3-binman.dtsi b/arch/arm/dts/k3-binman.dtsi index 5163161b94d..c2b8388b06e 100644 --- a/arch/arm/dts/k3-binman.dtsi +++ b/arch/arm/dts/k3-binman.dtsi @@ -297,6 +297,17 @@ }; }; +#ifdef CONFIG_K3_HSM_FW + hsm { + description = "HSM binary"; + type = "standalone"; + compression = "none"; + os = "hsm"; + load = <0x82000000>; + entry = <0x82000000>; + }; +#endif + dm { description = "DM binary"; type = "firmware"; -- 2.34.1