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; > " > > Reported-by: Peter Robinson <pbrobin...@gmail.com> > Signed-off-by: Peng Fan <van.free...@gmail.com> > Cc: Stefano Babic <sba...@denx.de> > Cc: Fabio Estevam <fabio.este...@nxp.com> > Cc: Tom Rini <tr...@konsulko.com> > Cc: Anatolij Gustschin <ag...@denx.de> > Cc: Peter Robinson <pbrobin...@gmail.com>
Reviewed-by: Tom Rini <tr...@konsulko.com> -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot