[U-Boot] [PATCH 5/6] board/BuR: provide real clock-frequency instead a divider

Anatolij Gustschin agust at denx.de
Tue Jan 9 08:28:26 UTC 2018


Hi Hannes,

On Tue,  9 Jan 2018 07:58:46 +0100
Hannes Schmelzer oe5hpm at oevsv.at wrote:
...
> -	dtbprop = FDTPROP(PATHTIM, "clock-frequency");
> -	if (dtbprop != ~0UL)
> -		pnltmp.pxl_clk_div = 192000000 / dtbprop;
> -	else
> -		pnltmp.pxl_clk_div = ~0UL;
> +	pnltmp.pxl_clk_div = FDTPROP(PATHTIM, "clock-frequency");

did you test !CONFIG_USE_FDT case? This should be

    pnltmp.pxl_clk = FDTPROP(PATHTIM, "clock-frequency");


--
Anatolij


More information about the U-Boot mailing list