summary refs log tree commit diff stats
path: root/hw/gumstix.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2009-05-13 17:56:25 +0100
committerPaul Brook <paul@codesourcery.com>2009-05-13 17:56:25 +0100
commitfbe1b5953d061c77c07b91e4eb555c92195308d0 (patch)
tree1475976bd828788075a1e32017b6f75a93344965 /hw/gumstix.c
parent1481e16abbab14a2e19410770f97cb764bb9be16 (diff)
downloadfocaccia-qemu-fbe1b5953d061c77c07b91e4eb555c92195308d0.tar.gz
focaccia-qemu-fbe1b5953d061c77c07b91e4eb555c92195308d0.zip
Remove vga_ram_size
The vga_ram_size argument to machine init functions always has the same
value, and is ignored by many machines (including SPARC32 which has an
obsolete ifdef for VGA_RAM_SIZE).

Remove it and push VGA_RAM_SIZE into vga_int.h.

Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/gumstix.c')
-rw-r--r--hw/gumstix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/gumstix.c b/hw/gumstix.c
index d116126d15..7dd67ce417 100644
--- a/hw/gumstix.c
+++ b/hw/gumstix.c
@@ -41,7 +41,7 @@
 
 static const int sector_len = 128 * 1024;
 
-static void connex_init(ram_addr_t ram_size, int vga_ram_size,
+static void connex_init(ram_addr_t ram_size,
                 const char *boot_device,
                 const char *kernel_filename, const char *kernel_cmdline,
                 const char *initrd_filename, const char *cpu_model)
@@ -75,7 +75,7 @@ static void connex_init(ram_addr_t ram_size, int vga_ram_size,
                     pxa2xx_gpio_in_get(cpu->gpio)[36]);
 }
 
-static void verdex_init(ram_addr_t ram_size, int vga_ram_size,
+static void verdex_init(ram_addr_t ram_size,
                 const char *boot_device,
                 const char *kernel_filename, const char *kernel_cmdline,
                 const char *initrd_filename, const char *cpu_model)