diff options
author | Rudolf Marek <r.marek@assembler.cz> | 2009-04-13 18:37:17 +0000 |
---|---|---|
committer | Rudolf Marek <r.marek@assembler.cz> | 2009-04-13 18:37:17 +0000 |
commit | 6bb6e03912c74ad9991c524de7fe7a5ff22aec32 (patch) | |
tree | 279d99d40de34d43a745abfe5c0cb54d7f0d808a /src/mainboard/asus/m2v-mx_se/mainboard.c | |
parent | 15bf50d8203af20b3079e6691bf0d9eee66ea1bd (diff) |
Following patch adds support for the ACPI resume on Asus M2V-MX SE. The ACPI
code just blinks the leds. The motherboard resources are use to reserve coreboot
used memory.
Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4103 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/asus/m2v-mx_se/mainboard.c')
-rw-r--r-- | src/mainboard/asus/m2v-mx_se/mainboard.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/asus/m2v-mx_se/mainboard.c b/src/mainboard/asus/m2v-mx_se/mainboard.c index 1d2094f761..ce3b66c4b8 100644 --- a/src/mainboard/asus/m2v-mx_se/mainboard.c +++ b/src/mainboard/asus/m2v-mx_se/mainboard.c @@ -34,6 +34,12 @@ int add_mainboard_resources(struct lb_memory *mem) 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; } |