XIP & GCC optimization & halting
Nicolas Pitre
nico at cam.org
Wed Oct 19 11:00:41 EDT 2005
On Wed, 19 Oct 2005, Korolev, Alexey wrote:
> Disassembling of cfi_cmdset001.o showed that operation ("/") is mapped
> to __divsi3 and __udivsi3 call from arch/arm/lib.
Ahhhh.
> Now I'm not clear about solution for the problem.
Select only one CFI buswidth and only one chip interleave when
configuring your kernel. That will allow gcc to precompute everything a
t compile time and avoid the runtime divide.
I'll think of a way to enforce that in Kconfig.
Nicolas
More information about the linux-mtd
mailing list