summaryrefslogtreecommitdiff
path: root/include/stratixII.h
diff options
context:
space:
mode:
authorAndrew Gabbasov <andrew_gabbasov@mentor.com>2013-05-14 12:27:52 -0500
committerJason Liu <r64343@freescale.com>2013-06-24 19:10:02 +0800
commit6d5015b6327daa6fadc677617b148fd095dc2fef (patch)
tree3b507e2be0a7985f461d0916c11290f53fdd62d9 /include/stratixII.h
parent36ebab8fc4672b6537f505c1fc17807a8aaac2fa (diff)
downloadu-boot-imx-6d5015b6327daa6fadc677617b148fd095dc2fef.zip
u-boot-imx-6d5015b6327daa6fadc677617b148fd095dc2fef.tar.gz
u-boot-imx-6d5015b6327daa6fadc677617b148fd095dc2fef.tar.bz2
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>
Diffstat (limited to 'include/stratixII.h')
0 files changed, 0 insertions, 0 deletions