[coreboot-gerrit] Patch set updated for coreboot: 9ecee87 lenovo/x60: Require only one failed boot to switch to fallback in X86_BOOTBLOCK_NORMAL mode.

Denis Carikli (GNUtoo@no-log.org) gerrit at coreboot.org
Sat Nov 2 14:57:43 CET 2013


Denis Carikli (GNUtoo at no-log.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3991

-gerrit

commit 9ecee8736fbbabd54fb5e87107efee4d44ebf3f7
Author: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
Date:   Sun Oct 20 23:37:35 2013 +0200

    lenovo/x60: Require only one failed boot to switch to fallback in X86_BOOTBLOCK_NORMAL mode.
    
    src/arch/x86/Kconfig defines MAX_REBOOT_CNT as 3.
    If that value is not overrided, then the Lenovo X60 coreboot image gets it too.
    
    At the end of a successfull boot, with CONFIG_KEEP_BOOT_COUNT,
      the Lenovo X60 increments its reboot_bits cmos option by one.
    
    In case of a failed boot, the user probably doesn't know that coreboot will
      only switch to fallback after 3 failed boots, and will act as if the laptop
      will not boot anymore with its current coreboot image.
    
    Change-Id: I746df11c933dfe62e01e1591479ca96a84907dc0
    Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
---
 src/mainboard/lenovo/x60/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/mainboard/lenovo/x60/Kconfig b/src/mainboard/lenovo/x60/Kconfig
index 72aeef8..90d472c 100644
--- a/src/mainboard/lenovo/x60/Kconfig
+++ b/src/mainboard/lenovo/x60/Kconfig
@@ -54,6 +54,10 @@ config MAX_CPUS
 	int
 	default 2
 
+config MAX_REBOOT_CNT
+	int
+	default 1
+
 config MAINBOARD_SMBIOS_MANUFACTURER
 	string
 	default "LENOVO"



More information about the coreboot-gerrit mailing list