Hi Stefano,
On Thu, 28 Apr 2016 16:29:43 +0200
Stefano Babic sba...@denx.de wrote:
...
> Applied to u-boot-imx, thanks !
Thanks!
--
Anatolij
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On 28/04/2016 16:20, Peter Robinson wrote:
> On Thu, Apr 28, 2016 at 3:07 AM, Peng Fan wrote:
>> Some toolchains fail to build
>> "clk->rate = (u64)(clk->parent->rate * 16) / div;"
>> And the cast usage is wrong.
>>
>> Use the following code to fix the issue,
>> "
>> do_div(parent_rate, div);
>>
On Thu, Apr 28, 2016 at 3:07 AM, Peng Fan wrote:
> Some toolchains fail to build
> "clk->rate = (u64)(clk->parent->rate * 16) / div;"
> And the cast usage is wrong.
>
> Use the following code to fix the issue,
> "
> do_div(parent_rate, div);
> clk->rate = parent_rate;
> "
>
> Reported-by: Pete
On Thu, Apr 28, 2016 at 10:07:53AM +0800, Peng Fan wrote:
> Some toolchains fail to build
> "clk->rate = (u64)(clk->parent->rate * 16) / div;"
> And the cast usage is wrong.
>
> Use the following code to fix the issue,
> "
> do_div(parent_rate, div);
> clk->rate = parent_rate;
> "
>
> Report
Some toolchains fail to build
"clk->rate = (u64)(clk->parent->rate * 16) / div;"
And the cast usage is wrong.
Use the following code to fix the issue,
"
do_div(parent_rate, div);
clk->rate = parent_rate;
"
Reported-by: Peter Robinson
Signed-off-by: Peng Fan
Cc: Stefano Babic
Cc: Fabio Este
5 matches
Mail list logo