diff options
author | Rudolf Marek <r.marek@assembler.cz> | 2010-04-25 15:21:18 +0000 |
---|---|---|
committer | Rudolf Marek <r.marek@assembler.cz> | 2010-04-25 15:21:18 +0000 |
commit | a3c10acaacb6baeac377338dae3bc0d5b0fb104a (patch) | |
tree | 70da31dc3b0652d9c4bc8e70900a3967042d82dd /src/mainboard/asus/m2v-mx_se | |
parent | 467a065384f0d50cbf2d100b55b58168ec98f0d3 (diff) | |
download | coreboot-a3c10acaacb6baeac377338dae3bc0d5b0fb104a.tar.xz |
Following patch changes the K8M890 VGA handling. It reverts the framebuffer size
to option based (similar what Uwe did) and also it uses GFXUMA to handle the
high_tables_start offset from memory top.
To satisfy the CMOS option users (Hi, libv! ;) I added also a possibility to do
that through CMOS.
Fixed printks to match the new style.
Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5494 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/asus/m2v-mx_se')
-rw-r--r-- | src/mainboard/asus/m2v-mx_se/mainboard.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/asus/m2v-mx_se/mainboard.c b/src/mainboard/asus/m2v-mx_se/mainboard.c index 4b6f322498..d6190b995a 100644 --- a/src/mainboard/asus/m2v-mx_se/mainboard.c +++ b/src/mainboard/asus/m2v-mx_se/mainboard.c @@ -24,6 +24,10 @@ #include <southbridge/via/k8t890/k8t890.h> #include "chip.h" +#if CONFIG_GFXUMA +uint64_t uma_memory_base, uma_memory_size; +#endif + int add_mainboard_resources(struct lb_memory *mem) { device_t dev; @@ -38,6 +42,11 @@ int add_mainboard_resources(struct lb_memory *mem) res->size); } +#if (CONFIG_GFXUMA == 1) + lb_add_memory_range(mem, LB_MEM_RESERVED, + uma_memory_base, uma_memory_size); +#endif + #if CONFIG_HAVE_ACPI_RESUME == 1 lb_add_memory_range(mem, LB_MEM_RESERVED, CONFIG_RAMBASE, ((CONFIG_RAMTOP) - CONFIG_RAMBASE)); |