Re: [U-Boot-Users] [PATCH] SPARC: CFI flash_read64 defined weak function.

2008-03-28 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > > This is a patch which defines flash_read64 weak in cfi_flash.c, > cpu/leon3/cpu_init.c > defines this function for SPARC. Sorry, patch unusable... > ++u64 flash_read64(void *addr)__attribute__((weak, > alias("__flash_read64"))); ^

[U-Boot-Users] [PATCH] SPARC: CFI flash_read64 defined weak function.

2008-03-28 Thread Daniel Hellstrom
Hello Wolfgang and Stefan, This is a patch which defines flash_read64 weak in cfi_flash.c, cpu/leon3/cpu_init.c defines this function for SPARC. SPARC has implemented __raw_readq, it reads 64-bit from any 32-bit address. For current SPARC architectures (LEON2 and LEON3) each read from the FLASH