Re: [U-Boot] [PATCH] ARM: cfi_flash: Avoid generation of unaligned accesses

2013-05-08 Thread Gabbasov, Andrew
> From: Gabbasov, Andrew > Sent: Monday, April 29, 2013 13:40 > To: Marek Vasut; u-boot@lists.denx.de > Cc: Albert ARIBAUD; Tom Rini > Subject: RE: [U-Boot] [PATCH] ARM: cfi_flash: Avoid generation of unaligned > accesses [ skipped ] > Hi Marek, > > Thank you fo

Re: [U-Boot] [PATCH] ARM: cfi_flash: Avoid generation of unaligned accesses

2013-04-29 Thread Gabbasov, Andrew
> From: Marek Vasut [marek.va...@gmail.com] > Sent: Sunday, April 28, 2013 22:58 > To: u-boot@lists.denx.de > Cc: Gabbasov, Andrew; Albert ARIBAUD; Tom Rini > Subject: Re: [U-Boot] [PATCH] ARM: cfi_flash: Avoid generation of unaligned > accesses > > Dear Andrew Gabbasov,

Re: [U-Boot] [PATCH] ARM: cfi_flash: Avoid generation of unaligned accesses

2013-04-28 Thread Marek Vasut
Dear Andrew Gabbasov, > 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 fixing the code to use some other

[U-Boot] [PATCH] ARM: cfi_flash: Avoid generation of unaligned accesses

2013-04-28 Thread Andrew Gabbasov
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 fixing the code to use some other way of accessing those fields seems