u-boot/drivers
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
..
bios_emulator Big white-space cleanup. 2008-05-21 00:14:08 +02:00
block Code cleanup: fix old style assignment ambiguities like "=-" etc. 2008-07-14 15:19:07 +02:00
dma Big white-space cleanup. 2008-05-21 00:14:08 +02:00
hwmon hwmon: rename CONFIG_DS1722 to CONFIG_DTT_DS1722 2008-07-13 15:35:02 +02:00
i2c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
input Code cleanup: fix old style assignment ambiguities like "=-" etc. 2008-07-14 15:19:07 +02:00
misc FSL LAW: Add new interface to use the last free LAW 2008-06-11 01:53:09 -05:00
mmc mmc: Move atmel_mci driver into drivers/mmc 2008-07-10 00:05:52 +02:00
mtd cfi_flash: fix flash on BE machines with CFG_WRITE_SWAPPED_DATA 2008-07-17 11:42:35 +02:00
net Fix some more printf() format issues. 2008-07-13 16:55:00 +02:00
pci pci: sh: Add pci_skip_dev and pci_print_dev function 2008-07-15 12:24:37 +09:00
pcmcia pcmcia/ti_pci1410a: Move compile condition to the Makefile 2008-06-26 17:04:25 +02:00
qe Big white-space cleanup. 2008-05-21 00:14:08 +02:00
rtc silence misc printf formatting compiler warnings 2008-07-10 22:12:09 +02:00
serial Round the serial port clock divisor value returned by calc_divisor() 2008-07-15 21:53:29 +02:00
spi Move conditional compilation of MPC8XXX SPI driver to Makefile 2008-07-01 21:02:11 +02:00
usb Fix some more printf() format problems. 2008-07-13 19:51:00 +02:00
video Fix bug in Lime video driver 2008-07-13 16:55:59 +02:00