src/amd: Increase maximum blootblock execution count

Most AMD hardware requires at minimum two warm resets
when booting from S5 (power off).  This is uncomfortably
close to the maximum bootblock execution count, and has resulted
in unstable normal/fallback operation on some machines.

Increase the default max bootblock execution count before fallback
to 6.  This translates to roughly 2 - 3 failed boots before fallback
mode will engage, with an absolute worst case of pushing the reset
button 5 times to engage fallback mode in the absence of a dedicated
recovery jumper.

Change-Id: I1911f1b77f168835b516e6a915d5b6949f47219a
Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
Reviewed-on: http://review.coreboot.org/12317
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Timothy Pearson 2015-11-03 19:02:26 -06:00 committed by Stefan Reinauer
parent 91ba80dd79
commit 5a1f3370ea
2 changed files with 8 additions and 0 deletions

View File

@ -178,4 +178,8 @@ endchoice
endmenu
config MAX_REBOOT_CNT
int
default 6
endif # NORTHBRIDGE_AMD_AMDFAM10

View File

@ -123,4 +123,8 @@ config CDB
hex
default 0x18
config MAX_REBOOT_CNT
int
default 6
endif #NORTHBRIDGE_AMD_K8