u-boot/arch
Wolfgang Denk 495df3bad9 ARM: fix write*() I/O accessors
Commit 3c0659b "ARM: Avoid compiler optimization for readb, writeb
and friends." introduced I/O accessors with memory barriers.
Unfortunately the new write*() accessors introduced a bug:

The problem is that the argument "v" gets evaluated twice.  This
breaks code like used here (from "drivers/net/dnet.c"):

	for (i = 0; i < wrsz; i++)
		writel(*bufp++, &dnet->regs->TX_DATA_FIFO);

Use auxiliary variables to avoid such problems.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Albert Aribaud <albert.aribaud@free.fr>
Cc: Alexander Holler <holler@ahsoftware.de>
Cc: Dirk Behme <dirk.behme@googlemail.com>
2011-02-21 08:30:55 +01:00
..
arm ARM: fix write*() I/O accessors 2011-02-21 08:30:55 +01:00
avr32 Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
blackfin Divides variable of linker flags to LDFLAGS-u-boot and LDFLAGS 2011-01-25 22:22:30 +01:00
i386 sc520: Release CAR and enable caching 2011-02-12 15:12:12 +11:00
m68k Replace "FLASH" strings with "Flash" or "flash" 2011-01-19 00:02:37 +01:00
microblaze microblaze: Fix msr handling in interrupt_handler 2011-02-15 15:13:24 +01:00
mips Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
nios2 nios2: add gpio_is_valid 2011-02-08 08:29:53 -05:00
powerpc powerpc/8xxx: Add additional cycle to write-to-read turnaound for DDR3 2011-02-10 23:40:02 -06:00
sh sh: add support for sh7757lcr board 2011-02-02 16:38:41 +09:00
sparc Replace "FLASH" strings with "Flash" or "flash" 2011-01-19 00:02:37 +01:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00