Hi,

I think you can get it to work again if you simply comment out in lib/cbmem.c
line 186  //acpi_slp_type == 0;

and in acpi.c

a return on line 592 this will let the stuff running even when no resume area was defined/filled. The region is still marked reserved although I think you will need bit more fix to Kconfig.

See attached patch. Totally untested but I think it could work.

Rudolf
Index: src/mainboard/asus/m2v-mx_se/Kconfig
===================================================================
--- src/mainboard/asus/m2v-mx_se/Kconfig	(revision 4992)
+++ src/mainboard/asus/m2v-mx_se/Kconfig	(working copy)
@@ -35,6 +35,7 @@
 	select HAVE_ACPI_TABLES
 	select BOARD_ROMSIZE_KB_512
 	select VGA
+	select HAVE_MAINBOARD_RESOURCES
 
 config MAINBOARD_DIR
 	string
Index: src/lib/cbmem.c
===================================================================
--- src/lib/cbmem.c	(revision 4992)
+++ src/lib/cbmem.c	(working copy)
@@ -184,7 +184,7 @@
 	if (acpi_slp_type == 3) {
 		if (!cbmem_reinit(high_tables_base)) {
 			/* Something went wrong, our high memory area got wiped */
-			acpi_slp_type == 0;
+			//acpi_slp_type == 0;
 			cbmem_init(high_tables_base, high_tables_size);
 		}
 	} else {
Index: src/arch/i386/boot/acpi.c
===================================================================
--- src/arch/i386/boot/acpi.c	(revision 4992)
+++ src/arch/i386/boot/acpi.c	(working copy)
@@ -589,7 +589,7 @@
 
 	if (!acpi_backup_memory) {
 		printk(BIOS_WARNING, "ACPI: Backup memory missing. No S3 Resume.\n");
-		return;
+		//return;
 	}
 
 	// FIXME this should go into the ACPI backup memory, too. No pork saussages.
-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to