XIP & GCC optimization & halting
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.
> 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.
More information about the linux-mtd