]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx: imx9: Add TRDC driver for TRDC init
authorYe Li <ye.li@nxp.com>
Tue, 26 Jul 2022 08:40:54 +0000 (16:40 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 26 Jul 2022 09:29:00 +0000 (11:29 +0200)
commit5fda95fb94408073bb24738a8c8ad23652c5ceb5
treeaa2f3b6a9540d39cb5bf1322194c0648bc75e5f4
parent27272456383b54d4406ce2e0c4c4d92a09f438c6
imx: imx9: Add TRDC driver for TRDC init

Add TRDC driver to iMX9. The TRDC init splits to two phases:
1. Early init phase will release TRDC from Sentinel and open write
   permission to the memory where SPL image runs. Sentinel will set
   the memory to RX only after ROM authentication for the OEM
   closed part.
2. Init phase will configure TRDC to allow non-secure master to
   access DDR. So the peripherals can work in u-boot.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/include/asm/arch-imx9/trdc.h [new file with mode: 0644]
arch/arm/mach-imx/imx9/Makefile
arch/arm/mach-imx/imx9/soc.c
arch/arm/mach-imx/imx9/trdc.c [new file with mode: 0644]