audk/ArmVirtPkg/Library/FdtPL011SerialPortLib
Ard Biesheuvel b1f3e48ed8 ArmVirtPkg/FdtPL011SerialPortLib: honor DT node 'status' property
In some cases, (e.g., when running QEMU with TrustZone emulation), the
DT may contain DT nodes whose status is set to 'secure'. Similarly, the
status may be set to 'disabled' if the consumer of the DT image is
expected to treat it as if it weren't there.

So check whether a 'status' property is present, and if so, ignore the
node if the status is not 'okay'.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
2017-04-04 15:25:16 +01:00
..
EarlyFdtPL011SerialPortLib.c ArmVirtPkg/FdtPL011SerialPortLib: honor DT node 'status' property 2017-04-04 15:25:16 +01:00
EarlyFdtPL011SerialPortLib.inf ArmVirtPkg/FdtPL011SerialPortLib: Set the PL011 UART clock rate 2016-06-15 16:16:43 +02:00
FdtPL011SerialPortLib.c ArmVirtPkg/FdtPL011SerialPortLib: Set the PL011 UART clock rate 2016-06-15 16:16:43 +02:00
FdtPL011SerialPortLib.inf ArmVirtPkg/FdtPL011SerialPortLib: Set the PL011 UART clock rate 2016-06-15 16:16:43 +02:00