[coreboot-gerrit] New patch to review for coreboot: b0ab884 hp/pavilion_m6_1035dx: Provide CMOS defaults

Alexandru Gagniuc (mr.nuke.me@gmail.com) gerrit at coreboot.org
Sat Feb 7 00:08:01 CET 2015


Alexandru Gagniuc (mr.nuke.me at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8379

-gerrit

commit b0ab88414eee4f687416187a0ea4c288d8d4cb64
Author: Alexandru Gagniuc <mr.nuke.me at gmail.com>
Date:   Fri Feb 6 17:03:28 2015 -0600

    hp/pavilion_m6_1035dx: Provide CMOS defaults
    
    Trying to use option tables without a cmos.default is like raping an
    energized wall outlet: You know it won't end well.
    
    TEST: Boot with corrupted CMOS and make sure console level defaults
    to SPEW, instead of 0, and that cbmem console is not empty.
    
    Change-Id: I8ab2423e99bbe116f52ad27f4b20427d8557f6ff
    Signed-off-by: Alexandru Gagniuc <mr.nuke.me at gmail.com>
---
 src/mainboard/hp/pavilion_m6_1035dx/Kconfig      | 1 +
 src/mainboard/hp/pavilion_m6_1035dx/cmos.default | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/src/mainboard/hp/pavilion_m6_1035dx/Kconfig b/src/mainboard/hp/pavilion_m6_1035dx/Kconfig
index eba58f2..ebe00a4 100644
--- a/src/mainboard/hp/pavilion_m6_1035dx/Kconfig
+++ b/src/mainboard/hp/pavilion_m6_1035dx/Kconfig
@@ -32,6 +32,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
 	select HAVE_ACPI_RESUME
 	select HAVE_SMI_HANDLER
 	select HAVE_ACPI_TABLES
+	select HAVE_CMOS_DEFAULT
 	select BOARD_ROMSIZE_KB_4096
 	select GFXUMA
 	select UDELAY_LAPIC
diff --git a/src/mainboard/hp/pavilion_m6_1035dx/cmos.default b/src/mainboard/hp/pavilion_m6_1035dx/cmos.default
new file mode 100644
index 0000000..0bca0fc
--- /dev/null
+++ b/src/mainboard/hp/pavilion_m6_1035dx/cmos.default
@@ -0,0 +1,5 @@
+boot_option = Fallback
+last_boot = Fallback
+debug_level = Spew
+nmi = Disable
+power_on_after_fail = Disable



More information about the coreboot-gerrit mailing list