On Tue, 25 Jan 2011 11:49:53 -0600 Kumar Gala <ga...@kernel.crashing.org> wrote:
> > On Jan 25, 2011, at 10:40 AM, Timur Tabi wrote: > > > Kumar Gala wrote: > >> Actually we've dealt with this already: > >> > >> commit ce82ff05388b5ddafdf6082ef0776cce72c40b1c > >> Author: Yuri Tikhonov <y...@emcraft.com> > >> Date: Sat Dec 20 14:54:21 2008 +0300 > >> > >> FPU POST: fix warnings when building with 2.18 binutils > > > > Why don't we compile all of U-Boot with hard float by default? What's wrong > > with using floating point instructions in U-Boot? > > * still have to deal with cores that dont have FP On cores that have FP (at least those that support the FPU POST, and which are currently having problems), use hard float, enable MSR[FP] or equivalent, and let GCC use FP for various tasks if it wants. This shouldn't involve much more complexity than adding a small amount of init, which you'd need for the POST anyway. On cores that don't have FP, use soft float, and don't include the FPU POST code. This should not be any different than today, except for adding another compiler flag that depends on the build target. -Scott _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot