[U-Boot] [RFC PATCH v2] ARM: Avoid compiler optimization for usages of readb, writeb and friends.

Albert ARIBAUD
2010-12-21T07:21:39Z

Hi Dirk,

Le 21/12/2010 08:11, Dirk Behme a ?crit :

> But the issue with drivers/mtd/nand/omap_gpmc.c (i.e. the additional
> ldrb r3, [r3]) is still open? Has anybody tried to replace it with
> a nop in the binary to be sure this is the root cause?

Can you try and preprocess the C file for both the broken and working
cases, then post the preprocessed C extract? Differences at the C level
may help understanding differences at the asm level.

> Thanks
>
> Dirk

Amicalement,
--
Albert.