diff options
author | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2011-11-08 00:00:55 +0100 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2011-11-08 20:53:49 +0100 |
commit | 9770b912522023fba61d65b03ed06ae71f939845 (patch) | |
tree | 48bca89a97efaf19d84a59f6005c1c00927b62e2 /hw/virtex_ml507.c | |
parent | 1d769ceda65eef76bad3356f5b7b0ce8a61e5d76 (diff) |
virtex: Remove memset of clk_setup
clk_setup is now a function. Fixes a segfault.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'hw/virtex_ml507.c')
-rw-r--r-- | hw/virtex_ml507.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/virtex_ml507.c b/hw/virtex_ml507.c index d31a204618..5ea0e60e41 100644 --- a/hw/virtex_ml507.c +++ b/hw/virtex_ml507.c @@ -202,7 +202,6 @@ static void virtex_init(ram_addr_t ram_size, cpu_model = "440-Xilinx"; } - memset(clk_setup, 0, sizeof(clk_setup)); env = ppc440_init_xilinx(&ram_size, 1, cpu_model, 400000000); qemu_register_reset(main_cpu_reset, env); |