uboot-mt623x/drivers
Stefano Babic 2f721d1733 MXC: Fix byte-ordering in SPI driver for i.MX31/i.MX51
The actual SPI driver for i.MX31 and i.MX51 controller
use a wrong byte ordering, because it is supposed
to work only with Freescale's devices, as the Power
Controllers (PMIC). The driver is not suitable for
general purposes, because the buffers passed to spi_xfer
must be 32-bit aligned, as it is used mainly to send
integer to PMIC devices.

The patch drops any kind of limitation and makes the
driver useful with devices controlled sending commands
composed by single bytes (or by a odd number of bytes), such as
spi flash, sensor, etc.

Because the byte ordering is changed,
any current driver using this controller must be adapted, too.

Signed-off-by: Stefano Babic <sbabic@denx.de>
2010-09-30 14:42:14 +02:00
..
bios_emulator ati_radeon: Support PCI virtual not eq bus mapping. 2010-04-08 15:30:47 +02:00
block ide: add mvsata_ide driver 2010-08-08 05:17:06 +05:30
dma powerpc/8xxx: Fix dma for 36bit addressing 2010-08-31 11:23:15 -05:00
fpga add block write function to spartan3 slave serial load 2010-03-24 11:08:43 -05:00
gpio Use common function to set GPIOs for MX3 and MX5 2010-09-29 11:24:30 +02:00
hwmon Misc ds1722 fixups 2009-09-04 21:54:52 +02:00
i2c ppc4xx: Move ppc4xx headers to powerpc include directory 2010-09-23 09:02:05 +02:00
input Remove HMI10 board support 2010-09-19 21:28:25 +02:00
misc MXC: Fix byte-ordering in SPI driver for i.MX31/i.MX51 2010-09-30 14:42:14 +02:00
mmc mmc: fix compiler warnings 2010-09-19 12:30:54 +02:00
mtd Merge branch 'next' of /home/wd/git/u-boot/next 2010-09-28 23:30:47 +02:00
net ppc4xx: Big header cleanup, mostly PPC440 related 2010-09-23 09:02:05 +02:00
pci powerpc/85xx & 86xx: Rework ft_fsl_pci_setup to not require aliases 2010-07-20 04:40:06 -05:00
pcmcia Remove HMI10 board support 2010-09-19 21:28:25 +02:00
power Prepare v2010.09-rc1 2010-09-10 00:16:19 +02:00
qe miiphy: constify device name 2010-08-09 11:52:29 -07:00
rtc AT91: add RTT and GPBR based RTC 2010-09-03 11:20:02 +02:00
serial MXC: Add watchdog support to serial driver 2010-09-29 11:24:31 +02:00
spi MXC: Fix byte-ordering in SPI driver for i.MX31/i.MX51 2010-09-30 14:42:14 +02:00
twserial drivers/twserial: Add protocol driver for "three wire serial" interface. 2009-03-30 09:38:36 +02:00
usb USB-CDC: Fix coding style issues 2010-09-20 21:57:17 +02:00
video Merge branch 'next' of /home/wd/git/u-boot/next 2010-09-28 23:30:47 +02:00
watchdog Convert at91 watchdog driver to new SoC access 2010-04-03 15:24:27 -05:00