]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: imx8ulp: release and configure XRDC at early phase
authorYe Li <ye.li@nxp.com>
Sat, 7 Aug 2021 08:00:55 +0000 (16:00 +0800)
committerStefano Babic <sbabic@denx.de>
Mon, 9 Aug 2021 12:46:51 +0000 (14:46 +0200)
commitba472a209b0086cb6e1e573a5e36f0d8ca912b50
treec3e4030bc5898fdcb267e4811891a5f0111738ff
parent26b53212b8f207243e5621d6e121bac559c59678
arm: imx8ulp: release and configure XRDC at early phase

Since S400 will set the memory of SPL image to R/X. We can't write
to any data in SPL image.

1. Set the parameters save/restore only for u-boot, not for SPL. to
   avoid write data.
2. Not use MU DM driver but directly call MU API to send release XRDC
   to S400 at early phase.
3. Configure the SPL image memory of SRAM2 to writable (R/W/X)

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/include/asm/arch-imx8ulp/mu_hal.h [new file with mode: 0644]
arch/arm/mach-imx/imx8ulp/lowlevel_init.S
arch/arm/mach-imx/imx8ulp/soc.c
drivers/misc/imx8ulp/imx8ulp_mu.c