soc/amd/picasso: If psp_verstage is in RO, don't reset on error
commitc9689e0591e053efefa268680cd3aeb80451001e
authorMartin Roth <martinroth@chromium.org>
Thu, 20 Aug 2020 23:25:37 +0000 (20 17:25 -0600)
committerAaron Durbin <adurbin@chromium.org>
Tue, 25 Aug 2020 16:23:26 +0000 (25 16:23 +0000)
tree37b1f420bf783d173500712b14065acabb8d67a7
parent7452a2fdeffeef460483ee41ad74c9f90553a5e3
soc/amd/picasso: If psp_verstage is in RO, don't reset on error

If there's already been an error and PSP_verstage is booting to RO,
don't reset the system.  It may be that the error is fatal, but if the
system is stuck, don't intentionally force it into a reboot loop.

BUG=None
TEST=Force an error, still boots to RO instead of going into a boot loop

Signed-off-by: Martin Roth <martinroth@chromium.org>
Change-Id: Ibb6794fefe9d482850ca31b1d3b0d145fcd8bb8f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44652
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
src/soc/amd/picasso/psp_verstage/psp_verstage.c