u-boot/drivers
Tom Rini b2fb47f187 USB: Use (get|put)_unaligned for accessing wMaxPacketSize
In 9792987721 Stefan describes a usecase
where the previous behavior of leaving wMaxPacketSize be unaligned
caused fatal problems.  The initial fix for this problem was incomplete
however as it showed another cases of non-aligned access that previously
worked implicitly.  This switches to making sure that all access of
wMaxPacketSize are done via (get|put)_unaligned.

In order to maintain a level of readability to the code in some cases
we now use a variable for the value of wMaxPacketSize and in others, a
macro.

Cc: Minkyu Kang <mk7.kang@samsung.com>
Cc: Remy Bohmer <linux@bohmer.net>

OpenRISC:
Tested-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>

Beagleboard xM, Pandaboard run-tested, s5p_goni build-tested.
Signed-off-by: Tom Rini <trini@ti.com>
2011-12-16 21:37:17 +01:00
..
bios_emulator drivers/bios_emulator/x86emu/ops2.c: Fix GCC 4.6 build warning 2011-11-27 15:45:47 +01:00
block mvsata: fix ide_preinit for missing disks 2011-12-06 23:59:30 +01:00
dma MXS: Add static annotations to dma driver 2011-12-06 23:59:40 +01:00
fpga FPGA: drivers/fpga/ivm_core.c: GCC4.6 fix build warnings 2011-11-16 20:49:40 +01:00
gpio i.mx: mxc_gpio: add the i.mx6q support 2011-12-09 17:30:10 +01:00
hwmon hwmon: do not init sensors on startup 2011-08-04 23:30:38 +02:00
i2c drivers/i2c/davinci_i2c.c: Fix GCC 4.6 warning 2011-11-23 21:22:39 +01:00
input x86: Fix some bugs in the i8402 driver when no controller is present 2011-11-29 21:31:35 +11:00
misc misc: pmic: fix regression in pmic_fsl.c (SPI) 2011-11-03 22:56:18 +01:00
mmc tegra2: Modify MMC driver to handle power and cd GPIOs 2011-12-09 17:30:08 +01:00
mtd drivers/mtd/nand/nand_spl_load.c: Fix GCC 4.6 warning 2011-12-07 16:02:07 -06:00
net drivers/net/at91_emac.c: Fix GCC 4.6 build warnings 2011-12-10 23:08:02 +01:00
pci pci_ftpci100: Implementation FTPCI100 PCI driver 2011-12-05 23:13:48 +01:00
pcmcia drivers/pcmcia/mpc8xx_pcmcia.c: Fix GCC 4.6 build warning 2011-11-07 22:11:46 +01:00
power omap: TWL4030 Bump VMMC1 interface voltage from 3V to 3.15V 2011-12-09 17:28:28 +01:00
qe powerpc/85xx: clean up and document the QE/FMAN microcode macros 2011-11-29 08:48:06 -06:00
rtc arm, davinci: move davinci_rtc struct to hardware.h 2011-12-06 23:59:37 +01:00
serial USB: Use (get|put)_unaligned for accessing wMaxPacketSize 2011-12-16 21:37:17 +01:00
spi drivers/spi/atmel_spi.c: Fix GCC 4.6 warning 2011-11-16 21:28:25 +01:00
tpm Introduce generic TPM support in u-boot 2011-12-07 08:45:51 +01:00
twserial Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
usb USB: Use (get|put)_unaligned for accessing wMaxPacketSize 2011-12-16 21:37:17 +01:00
video video: cfb_console: fix build warnings 2011-12-07 21:32:19 +01:00
watchdog AT91: fix at91sam_wdt.c to reworked header files 2011-05-18 07:56:51 +02:00