arm-trusted-firmware/plat/qemu
Jean-Philippe Brucker 72d47829be refactor(qemu): move GPT setup to BL31
Some platforms such as QEMU-SBSA access the device tree located at the
bottom of the non-secure RAM from BL31.  When GPT checks are enabled at
BL2, that access generates a GPT check fault because the device tree
area is configure as non-secure RAM and the access is made from secure
EL3.

We could change the device tree memory area configuration in a way that
it is accessible from BL31, but that would require another configuration
of the GPT before going to BL33.

Since BL2 and BL31 are both running at EL3, a better solution is simply
move the GPT configuration and enabling to BL31, after the device tree
has been probed.

No change in functionality.

Change-Id: Ifa01c50164268b993d563c32e4e42140259c44e2
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
[Added changelog description]
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2024-12-06 11:20:43 -07:00
..
common refactor(qemu): move GPT setup to BL31 2024-12-06 11:20:43 -07:00
qemu fix(qemu-sbsa): fix compilation error when accessing DT functions 2024-12-06 11:20:43 -07:00
qemu_sbsa fix(qemu-sbsa): fix compilation error when accessing DT functions 2024-12-06 11:20:43 -07:00