Le 05/07/2011 13:17, Wolfgang Denk a écrit : > Dear Aneesh V, > > In message<4e12e2c6.7020...@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.
Maybe we could condition this __ilog2 definition on whether we build for armv4 (and below) or armv5t (or above)? > Best regards, > > Wolfgang Denk Amicalement, -- Albert. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot