u-boot/drivers/mtd
Sebastian Siewior 340ccb260f cfi_flash: fix flash on BE machines with CFG_WRITE_SWAPPED_DATA
This got broken by commits 93c56f212c
 [cfi_flash: support of long cmd in U-boot.]

That command needs to be in little endian format on BE machines
with CFG_WRITE_SWAPPED_DATA. Without this patch, the command 0xf0
gets saved on stack as 0x00 00 00 f0 and 0x00 gets written into
the cmdbuf in case portwidth = chipwidth = 8bit.

Cc: Alexey Korolev <akorolev@infradead.org>
Cc: Vasiliy Leonenko <vasiliy.leonenko@mail.ru>
Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
2008-07-17 11:42:35 +02:00
..
nand MTD/NAND: Fix printf format warning in nand code 2008-07-10 10:46:13 +02:00
nand_legacy Big white-space cleanup. 2008-05-21 00:14:08 +02:00
onenand NAND: Rename DEBUG to MTDDEBUG to avoid namespace pollution. 2008-07-09 17:24:47 -05:00
spi SPI Flash subsystem 2008-06-03 20:31:34 +02:00
at45.c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
cfi_flash.c cfi_flash: fix flash on BE machines with CFG_WRITE_SWAPPED_DATA 2008-07-17 11:42:35 +02:00
dataflash.c Fix some more printf() format issues. 2008-07-13 16:55:00 +02:00
jedec_flash.c jedec_flash: Fix AM29DL800BB device ID 2008-07-08 12:57:14 +02:00
Makefile dataflash: Move CONFIG_HAS_DATAFLASH to Makefile 2008-04-01 07:30:51 +02:00
mw_eeprom.c drivers/mtd : move mtd drivers to drivers/mtd 2007-11-25 23:28:52 +01:00