Commit 8ff9e3ea authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

sim: enable time_valid_o only when the link is up

parent d64e82f6
...@@ -109,6 +109,8 @@ static void wrc_sim_initialize(void) ...@@ -109,6 +109,8 @@ static void wrc_sim_initialize(void)
minic_init(); minic_init();
shw_pps_gen_init(); shw_pps_gen_init();
spll_very_init(); spll_very_init();
/* wait for link up before enabling tm_time_valid_o */
while (ep_link_up(NULL) == 0) {}
shw_pps_gen_enable_output(1); shw_pps_gen_enable_output(1);
} }
/* /*
......
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