/* Calculate the period of DDR clock from frequency value and set the denominator and numerator in global variables for easy access later  */
static void set_ddr_clk_period(u32 freq)
/* Calculate the period of DDR clock from frequency value and set the denominator and numerator in global variables for easy access later  */
static void set_ddr_clk_period(u32 freq)
{
	*T_num = 1000000000;
	*T_den = freq;
	cancel_out(T_num, T_den, 200);
}