From 5a1f3370ea61ef13e7f5ef703e39ed8a71f69700 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 3 Nov 2015 19:02:26 -0600 Subject: [PATCH] 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 Reviewed-on: http://review.coreboot.org/12317 Reviewed-by: Alexandru Gagniuc Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/northbridge/amd/amdfam10/Kconfig | 4 ++++ src/northbridge/amd/amdk8/Kconfig | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/northbridge/amd/amdfam10/Kconfig b/src/northbridge/amd/amdfam10/Kconfig index cc22365e4d..0c6d289025 100644 --- a/src/northbridge/amd/amdfam10/Kconfig +++ b/src/northbridge/amd/amdfam10/Kconfig @@ -178,4 +178,8 @@ endchoice endmenu +config MAX_REBOOT_CNT + int + default 6 + endif # NORTHBRIDGE_AMD_AMDFAM10 diff --git a/src/northbridge/amd/amdk8/Kconfig b/src/northbridge/amd/amdk8/Kconfig index d28281c367..f1ee3c3d4a 100644 --- a/src/northbridge/amd/amdk8/Kconfig +++ b/src/northbridge/amd/amdk8/Kconfig @@ -123,4 +123,8 @@ config CDB hex default 0x18 +config MAX_REBOOT_CNT + int + default 6 + endif #NORTHBRIDGE_AMD_K8