public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Illegal use of FP ops in clock_ti814x.c
@ 2013-10-27 21:11 Wolfgang Denk
  2013-10-28 21:55 ` Tom Rini
  2013-10-28 23:19 ` Måns Rullgård
  0 siblings, 2 replies; 10+ messages in thread
From: Wolfgang Denk @ 2013-10-27 21:11 UTC (permalink / raw)
  To: u-boot

Dear Matt,

I hope you are the right person to address this to - if not, please
help to redirect to the current responsible developer.

Function pll_sigma_delta_val() in arch/arm/cpu/armv7/am33xx/clock_ti814x.c
incorrectly uses "float" data, which results in FP operations which
are not permitted in U-Boot.

The actual computation appears simple enough so a rewrite of the code
without using any floating point operations should be fairly easy, but
I don't understand the actual logic of this code, so I'd rather leave
this to someone who does.

Could you please help and clean up these three lines of code?

Thanks in advance.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Here is an Appalachian version of management's answer  to  those  who
are  concerned  with  the fate of the project: "Don't worry about the
mule. Just load the wagon."         - Mike Dennison's hillbilly uncle

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-02-21 19:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-27 21:11 [U-Boot] Illegal use of FP ops in clock_ti814x.c Wolfgang Denk
2013-10-28 21:55 ` Tom Rini
2013-10-28 23:19 ` Måns Rullgård
2013-10-28 23:56   ` Wolfgang Denk
2013-10-29  0:54     ` Måns Rullgård
2013-10-29 10:48       ` Wolfgang Denk
2013-10-29 12:23         ` Tom Rini
2014-01-28 17:48           ` Matt Porter
2013-10-29 12:44         ` Måns Rullgård
2014-02-21 19:14   ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox