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

2011-07-05 Thread Albert ARIBAUD
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

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

2011-07-05 Thread Wolfgang Denk
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 wh

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

2011-07-05 Thread Aneesh V
Dear Wolfgang, On Tuesday 05 July 2011 03:28 PM, Wolfgang Denk wrote: > Dear Aneesh V, > > In message<4e129653.7050...@ti.com> you wrote: >> >> I tried doing the same sometime back for the same need. I had to >> abandon it because CLZ seems to be added only in ARMv5. And at least >> one ARMv7 SoC

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

2011-07-05 Thread Wolfgang Denk
Dear Aneesh V, In message <4e129653.7050...@ti.com> you wrote: > > I tried doing the same sometime back for the same need. I had to > abandon it because CLZ seems to be added only in ARMv5. And at least > one ARMv7 SoC uses -march=armv4 while building. Does this setting make any sense, or should

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

2011-07-04 Thread Aneesh V
Hi Rob, On Tuesday 28 June 2011 09:09 PM, Rob Herring wrote: > From: Rob Herring > > Add __ilog2 function for ARM. Needed for ahci.c > > Signed-off-by: Rob Herring > Cc: Albert ARIBAUD > --- > arch/arm/include/asm/bitops.h |9 + > 1 files changed, 9 insertions(+), 0 deletions(-) > >

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

2011-07-04 Thread Rob Herring
Wolfgang, On 07/04/2011 05:13 AM, Wolfgang Denk wrote: > Dear Rob Herring, > > In message <1309275583-11763-4-git-send-email-robherri...@gmail.com> you > wrote: >> From: Rob Herring >> >> Add __ilog2 function for ARM. Needed for ahci.c >> >> Signed-off-by: Rob Herring >> Cc: Albert ARIBAUD >>

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

2011-07-04 Thread Wolfgang Denk
Dear Rob Herring, In message <1309275583-11763-4-git-send-email-robherri...@gmail.com> you wrote: > From: Rob Herring > > Add __ilog2 function for ARM. Needed for ahci.c > > Signed-off-by: Rob Herring > Cc: Albert ARIBAUD > --- > arch/arm/include/asm/bitops.h |9 + > 1 files chan

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

2011-06-28 Thread Rob Herring
From: Rob Herring Add __ilog2 function for ARM. Needed for ahci.c Signed-off-by: Rob Herring Cc: Albert ARIBAUD --- arch/arm/include/asm/bitops.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/bitops.h b/arch/arm/include/asm/bitops.h inde