Following patch adds support for the ACPI resume on Asus M2V-MX SE. The ACPI
[coreboot.git] / src / mainboard / asus / m2v-mx_se / mainboard.c
index 1d2094f76179e43c5bb1cd2ce7f3bb1a342db76e..ce3b66c4b867cfbcdd83bb9253cb1cae0594986b 100644 (file)
@@ -33,6 +33,12 @@ int add_mainboard_resources(struct lb_memory *mem)
        printk_debug("Adding high table area\n");
        lb_add_memory_range(mem, LB_MEM_TABLE,
                high_tables_base, high_tables_size);
+#endif
+#if HAVE_ACPI_RESUME == 1
+       lb_add_memory_range(mem, LB_MEM_RESERVED,
+               _RAMBASE, ((CONFIG_LB_MEM_TOPK<<10) - _RAMBASE));
+       lb_add_memory_range(mem, LB_MEM_RESERVED,
+               DCACHE_RAM_BASE, DCACHE_RAM_SIZE);
 #endif
        return 0;
 }