u-boot/drivers/misc
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
..
ali512x.c Move ali512x.h 2009-03-20 22:39:13 +01:00
ds4510.c cmd_usage(): simplify return code handling 2010-07-24 20:43:57 +02:00
fsl_law.c powerpc/p3041: Add various p3041 related defines 2010-07-20 04:41:19 -05:00
fsl_pmic.c MXC: Fix byte-ordering in SPI driver for i.MX31/i.MX51 2010-09-30 14:42:14 +02:00
gpio_led.c gpio_led: add gpio_request to __led_init 2010-07-12 11:30:52 -04:00
Makefile misc: add gpio based status led driver 2010-05-28 10:56:03 -04:00
ns87308.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
status_led.c drivers/misc: Move conditional compilation to Makefile 2008-08-13 01:40:40 +02:00
twl4030_led.c TWL4030: make LEDs selectable for twl4030_led_init() 2010-01-04 08:48:15 -06:00