]> git.baikalelectronics.ru Git - arm-tf.git/commit
qemu/qemu_sbsa: enable secure variable storage
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Wed, 23 Sep 2020 07:52:59 +0000 (16:52 +0900)
committerManish Pandey <manish.pandey2@arm.com>
Wed, 13 Jan 2021 10:23:04 +0000 (10:23 +0000)
commit74c87a4bcd06ba255a424c707d441b1a75e8e61c
tree1941d54078fd0137aa30db984e712ab228b87bc2
parent031d479ddc0b40753526c00bc4c20191213db867
qemu/qemu_sbsa: enable secure variable storage

This implements support for UEFI secure variable storage
using standalone MM framework on qemu_sbsa platform.

Non-secure shared memory between UEFI and standalone MM
is allocated at the top of DRAM.
DRAM size of qemu_sbsa varies depends on the QEMU parameter,
so the non-secure shared memory is allocated by trusted firmware
and passed the base address and size to UEFI through device tree
"/reserved-memory" node.

Change-Id: I367191f408eb9850b7ec7761ee346b014c539767
Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
plat/qemu/common/qemu_common.c
plat/qemu/common/qemu_spm.c
plat/qemu/qemu_sbsa/include/platform_def.h
plat/qemu/qemu_sbsa/platform.mk