]> git.baikalelectronics.ru Git - uboot.git/commit
armv8: layerscape: spl: mark OCRAM as non-secure
authorMichael Walle <michael@walle.cc>
Tue, 23 Aug 2022 09:30:14 +0000 (11:30 +0200)
committerPeng Fan <peng.fan@nxp.com>
Tue, 6 Sep 2022 01:10:41 +0000 (09:10 +0800)
commitf1a4a7b649b8d4a96ed57d56ba493b0304e6ac76
tree8dffd95d8e771c0177f3ac6ec04c2b8676cbab1a
parentf487e26a9ebe5534f896317f3eaf209fa3260975
armv8: layerscape: spl: mark OCRAM as non-secure

By default the OCRAM is marked as secure. While the SPL runs in EL3 and
thus can access it, DMA devices cannot. Mark the whole OCRAM as
non-secure.
This will fix MMC and SD card boot on LS1028A when using SPL instead of
TF-A.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/spl.c