]> git.baikalelectronics.ru Git - uboot.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)
commit090c0f87a7222ad70c86b4a9d68bfd5c47701cc4
treec3e4030bc5898fdcb267e4811891a5f0111738ff
parent14b166da154d3d3e2aee119574830672632c7b20
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