[U-Boot] [PATCH 3/6] arm: add __ilog2 function

Wolfgang Denk wd at denx.de
Tue Jul 5 13:17:25 CEST 2011


Dear Aneesh V,

In message <4E12E2C6.7020401 at ti.com> you wrote:
>
> Looks like it makes sense. Here is what the comment says in
> arch/arm/cpu/armv7/tegra2/config.mk
> 
> # Use ARMv4 for Tegra2 - initial code runs on the AVP, which is an ARM7TDI.
> PLATFORM_CPPFLAGS += -march=armv4

I'm not sure what "initial code" here means - all of U-Boot?

> Even if we could fix this, Rob is adding the API for all 'arm', which I
> feel is not correct.

Agreed.  But then, it's the overwhelming majority that could use this
code.

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
It's certainly  convenient  the  way  the  crime  (or  condition)  of
stupidity   carries   with   it  its  own  punishment,  automatically
admisistered without remorse, pity, or prejudice. :-)
         -- Tom Christiansen in <559seq$ag1$1 at csnews.cs.colorado.edu>


More information about the U-Boot mailing list