[U-Boot] [RFC PATCH v2] ARM: Avoid compiler optimization for usages of readb, writeb and friends.
John Rigby
john.rigby at linaro.org
Mon Dec 20 05:18:20 CET 2010
On Sun, Dec 19, 2010 at 5:56 PM, Alexander Holler <holler at ahsoftware.de> wrote:
> Am 20.12.2010 01:39, schrieb John Rigby:
>>
>> On Sun, Dec 19, 2010 at 12:59 PM, Alexander Holler<holler at ahsoftware.de>
>> wrote:
>> ...
>>>
>>> No EEPROM on expansion board
>>> Die ID #062a000400000000040365fa16019019
>>> Hit any key to stop autoboot: 0
>>> OMAP3 beagleboard.org # nand info
>>>
>>> Device 0: nand0, sector size 16 KiB
>>> --------------------------------
>>>
>> I get the same output without your change. My gcc is linaro 4.4.5.
>> I'll do some bisecting and try to find out what is going on.
>
> Bisecting won't help you here. Not if the problem was always there (which is
> what I assume
Sorry, I was confused about my results.
If I replace include <asm/io.h> in drivers/mtd/nand/omap_gpmc.c with a
copy of the original called orig_io.h:
#include "orig_io.h"
Nand starts working again. So the problem seems to be isolated to this file.
>
> Regards,
>
> Alexander
>
More information about the U-Boot
mailing list