diff options
author | Evan Lloyd <evan.lloyd@arm.com> | 2016-09-21 21:33:13 +0100 |
---|---|---|
committer | Leif Lindholm <leif.lindholm@linaro.org> | 2016-10-11 14:23:33 +0100 |
commit | 719a347c5df53a1dca6f80e06a285424228436e1 (patch) | |
tree | c03ece96dbc86074e84252ee2854fe70a5773737 /StdLibPrivateInternalFiles | |
parent | b3b58d4da79639ffb02e9a0556e21962bf918d1e (diff) | |
download | edk2-719a347c5df53a1dca6f80e06a285424228436e1.tar.gz edk2-719a347c5df53a1dca6f80e06a285424228436e1.tar.bz2 edk2-719a347c5df53a1dca6f80e06a285424228436e1.zip |
ArmPlatformPkg: Fix PL011 FIFO size test
This change updates PL011UartInitializePort to compare ReceiveFifoDepth
with the correct hardware FIFO size instead of the constant 32 used
previously.
This corrects a minor bug where a request for a fifo size > 15 and < 32
would not have been honoured on a system with a 16 byte FIFO.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Evan Lloyd <evan.lloyd@arm.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'StdLibPrivateInternalFiles')
0 files changed, 0 insertions, 0 deletions