hw/arm/virt: add DT property /secure-chosen/stdout-path indicating secure UART
authorJerome Forissier <jerome.forissier@linaro.org>
Fri, 5 Oct 2018 08:07:29 +0000 (10:07 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 16 Oct 2018 15:15:01 +0000 (16:15 +0100)
commitfb23d693a3e0f22c25fdc2f373ac81d9cbb26680
treeb011b978315b5e44cb46a77a2cb36b7d602e22aa
parentdddb37495b844270088e68e3bf30b764d48d863f
hw/arm/virt: add DT property /secure-chosen/stdout-path indicating secure UART

Bindings for /secure-chosen and /secure-chosen/stdout-path have been
proposed 1.5 years ago [1] and implemented in OP-TEE at the same time [2].
They've now been officially agreed on, so we can implement them
in QEMU.

This patch creates the property when the machine is secure.

[1] https://patchwork.kernel.org/patch/9602401/
[2] https://github.com/OP-TEE/optee_os/commit/4dc31c52544a

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Message-id: 20181005080729.6480-1-jerome.forissier@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: commit message tweak]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/virt.c