diff options
author | Paul Brook <paul@codesourcery.com> | 2009-05-13 17:56:25 +0100 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-05-13 17:56:25 +0100 |
commit | fbe1b5953d061c77c07b91e4eb555c92195308d0 (patch) | |
tree | 1475976bd828788075a1e32017b6f75a93344965 /hw/mainstone.c | |
parent | 1481e16abbab14a2e19410770f97cb764bb9be16 (diff) |
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/mainstone.c')
-rw-r--r-- | hw/mainstone.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/mainstone.c b/hw/mainstone.c index 0e3082f9bf..cb10414e61 100644 --- a/hw/mainstone.c +++ b/hw/mainstone.c @@ -68,7 +68,7 @@ static struct arm_boot_info mainstone_binfo = { .ram_size = 0x04000000, }; -static void mainstone_common_init(ram_addr_t ram_size, int vga_ram_size, +static void mainstone_common_init(ram_addr_t ram_size, const char *kernel_filename, const char *kernel_cmdline, const char *initrd_filename, const char *cpu_model, enum mainstone_model_e model, int arm_id) @@ -126,12 +126,12 @@ static void mainstone_common_init(ram_addr_t ram_size, int vga_ram_size, arm_load_kernel(cpu->env, &mainstone_binfo); } -static void mainstone_init(ram_addr_t ram_size, int vga_ram_size, +static void mainstone_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) { - mainstone_common_init(ram_size, vga_ram_size, kernel_filename, + mainstone_common_init(ram_size, kernel_filename, kernel_cmdline, initrd_filename, cpu_model, mainstone, 0x196); } |