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

Hannes Schmelzer hannes at schmelzer.or.at
Tue Jan 9 08:34:17 UTC 2018



Am 09.01.2018 um 09:28 schrieb Anatolij Gustschin:
> Hi Hannes,
Hi Anatoli,
>
> 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");
Thanks for catching this,  i've missed that.
Will prepare some V2 of the patch, sending it in the evening maybe some 
other improvements come up.
> --
> Anatolij
cheers,
Hannes



More information about the U-Boot mailing list