Commit 9770b912 authored by Edgar E. Iglesias's avatar Edgar E. Iglesias

virtex: Remove memset of clk_setup

clk_setup is now a function. Fixes a segfault.
Signed-off-by: default avatarEdgar E. Iglesias <>
parent 1d769ced
......@@ -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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment