u-boot-brain/drivers/mtd
Daniel Hellstrom 97bf85d784 MTD/CFI: flash_read64 is defined a weak function (for SPARC)
SPARC has implemented __raw_readq, it reads 64-bit from any 32-bit address.
SPARC CPUs implement flash_read64 which calls __raw_readq.

For current SPARC architectures (LEON2 and LEON3) each read from the
FLASH must lead to a cache miss. This is because FLASH can not be set
non-cacheable since program code resides there, and alternatively disabling
cache is poor from performance view, or doing a cache flush between each
read is even poorer.

Forcing a cache miss on a SPARC is done by a special instruction "lda" -
load alternative space, the alternative space number (ASI) is processor
implementation spcific and can be found by including <asm/processor.h>.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2008-03-29 06:51:04 +01:00
..
nand nand: FSL UPM NAND driver 2008-01-16 14:14:40 +01:00
nand_legacy drivers/mtd : move mtd drivers to drivers/mtd 2007-11-25 23:28:52 +01:00
onenand Add Flex-OneNAND booting support 2008-03-26 00:05:32 +01:00
at45.c drivers/mtd : move mtd drivers to drivers/mtd 2007-11-25 23:28:52 +01:00
cfi_flash.c MTD/CFI: flash_read64 is defined a weak function (for SPARC) 2008-03-29 06:51:04 +01:00
dataflash.c AT91CAP9 support : build integration 2008-02-14 09:37:57 +00:00
jedec_flash.c MTD/CFI: Add support for 16bit legacy AMD flash 2008-03-28 11:44:23 +01:00
Makefile CFI: support JEDEC flash roms in CFI-flash framework 2007-12-08 08:16:50 +01:00
mw_eeprom.c drivers/mtd : move mtd drivers to drivers/mtd 2007-11-25 23:28:52 +01:00