diff options
author | Marc Jones <marcj303@gmail.com> | 2017-09-28 22:37:07 -0600 |
---|---|---|
committer | Marc Jones <marc@marcjonesconsulting.com> | 2017-10-03 17:56:37 +0000 |
commit | 29922a540922550b80ba76a821c85eae328899cc (patch) | |
tree | 648269828d8230f13d53ec343148b4a63c7a3bc0 /src/commonlib | |
parent | 4460e8fc56ce95dd65dc1ceb6c362aa132f227b9 (diff) |
soc/amd/stoneyridge: Wait for UART to be ready
The Stoney Ridge UART and AMBA devices must be powered and report power
and clock OK prior to using the coreboot serial console. The code used
to have a delay to wait for the power and clock, but didn't check the
OK bits. This caused long delays on a reboot, as each byte would time out
until the console was reset again at romstage.
This change also removes the UART reset. The device has just been
powered and is in reset already. Testing indicates the reset isn't
needed.
BUG=b:65853981
TEST=Boot to Chrome OS, run the reboot command, verify that the long
delay is gone.
Change-Id: I410700df5df255d20b8e5d192c72241dd44cf676
Signed-off-by: Marc Jones <marcj303@gmail.com>
Reviewed-on: https://review.coreboot.org/21731
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/commonlib')
0 files changed, 0 insertions, 0 deletions