u-boot-brain/drivers
Andrew Gabbasov aedadf10f0 cfi_flash: Fix unaligned accesses to cfi_qry structure
Packed structure cfi_qry contains unaligned 16- and 32-bits members,
accessing which causes problems when cfi_flash driver is compiled with
-munaligned-access option: flash initialization hangs, probably
due to data error.

Since the structure is supposed to replicate the actual data layout
in CFI Flash chips, the alignment issue can't be fixed in the structure.
So, unaligned fields need using of explicit unaligned access macros.

Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
Reviewed-By: Albert ARIBAUD <albert.u.boot@aribaud.net>
Signed-off-by: Stefan Roese <sr@denx.de>
2013-05-23 09:47:59 +02:00
..
bios_emulator biosemu: include <asm/io.h> header 2013-04-02 16:23:35 -04:00
block part/dev_desc: Add log2 of blocksize to block_dev_desc data struct 2013-05-01 16:24:02 -04:00
bootcount Consolidate bootcount code into drivers/bootcount 2012-09-01 14:26:02 +02:00
crypto Exynos: Add hardware accelerated SHA256 and SHA1 2013-03-29 20:10:42 +09:00
dfu dfu: NAND specific routines for DFU operation 2013-04-10 15:22:24 +02:00
dma mxs: dma: Fix APBH DMA driver for MX23 2013-01-28 11:43:00 +01:00
fpga Consolidate bool type 2013-04-01 16:33:52 -04:00
gpio bfin: Move gpio support for bf54x and bf60x into the generic driver folder. 2013-05-13 16:30:27 +08:00
hwmon hwmon: do not init sensors on startup 2011-08-04 23:30:38 +02:00
i2c Merge branch 'master' of git://git.denx.de/u-boot-arm 2013-03-18 14:37:18 -04:00
input ppc: Move mpc5xxx clocks to arch_global_data 2013-02-04 09:05:43 -05:00
misc Merge remote-tracking branch 'u-boot/master' into u-boot-arm-merged 2012-12-19 13:02:36 -08:00
mmc powerpc/esdhc: Correct judgement for DATA PIO mode 2013-05-15 18:18:16 -05:00
mtd cfi_flash: Fix unaligned accesses to cfi_qry structure 2013-05-23 09:47:59 +02:00
net Merge branch 'master' of git://www.denx.de/git/u-boot-mpc85xx 2013-05-15 08:41:04 -04:00
pci powerpc/p4080ds: fix PCI-e x8 link training down failure 2012-11-27 18:28:07 -06:00
pcmcia PXA: Remove PXA PCMCIA support 2012-03-26 23:09:23 +02:00
power Exynos5: TMU: Add hardware tripping 2013-03-12 17:07:31 +09:00
qe ppc: Move CONFIG_QE to arch_global_data 2013-02-04 09:05:42 -05:00
rtc Consolidate bool type 2013-04-01 16:33:52 -04:00
serial Power: remove support for Freescale MPC8220 2013-05-15 08:41:03 -04:00
sound Sound: Support for MAX98095 codec in driver 2013-03-08 22:34:18 +09:00
spi bfin: discard invalid data and clear RXS in bf5xx spi driver 2013-05-13 16:26:27 +08:00
tpm tpm: Add Infineon slb9635_i2c TPM driver 2013-04-12 14:13:00 -07:00
twserial Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
usb T4/usb: move usb 2.0 utmi dual phy init code to cpu_init.c 2013-05-14 16:13:25 -05:00
video Merge branch 'u-boot/master' into 'u-boot-arm/master' 2013-04-12 22:07:57 +02:00
watchdog blackfin: Move blackfin watchdog driver out of the blackfin arch folder. 2013-05-13 16:30:26 +08:00