]> git.baikalelectronics.ru Git - uboot.git/commit
imx: imx8mn_smm_s2/s2pro: Enable TrustZone
authorMichael Trimarchi <michael@amarulasolutions.com>
Sun, 15 May 2022 09:41:09 +0000 (11:41 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 20 May 2022 10:36:48 +0000 (12:36 +0200)
commite583217362433db1504946d2890b263ab8d53060
treeee38de2f3525cfb986cb65316593d4a27a7019c5
parent4030ec976fadd4387ac6c6118fdeae0621ba1c00
imx: imx8mn_smm_s2/s2pro: Enable TrustZone

When the board was added, enabling tzc380 was left off by
mistake. The optee was tested with the following configuration
in s2pro

+ firmware {
+ optee {
+ compatible = "linaro,optee-tz";
+ method = "smc";
+ };
+ };
+
+ reserved-memory {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ /* 6MiB */
+ optee_core@5f800000 {
+ reg = <0x00 0x5f800000 0x00 0x600000>;
+ };
+
+ /* 2MiB */
+ optee_shm@5fe00000 {
+ reg = <0x00 0x5fe00000 0x00 0x200000>;
+ };
+ };
+

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
board/bsh/imx8mn_smm_s2/spl.c