diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2010-04-11 08:53:55 +0200 |
---|---|---|
committer | Marek Vasut <marek.vasut@gmail.com> | 2010-06-13 13:39:02 +0200 |
commit | 3a96ad851f4f9267e1199b700cb838a77334e4b2 (patch) | |
tree | b7a21918ab1ddb32359054b6975b62dade1b4904 /arch/arm/include | |
parent | f986325dd569faeaec4186f678d113505c5c4828 (diff) | |
download | u-boot-imx-3a96ad851f4f9267e1199b700cb838a77334e4b2.zip u-boot-imx-3a96ad851f4f9267e1199b700cb838a77334e4b2.tar.gz u-boot-imx-3a96ad851f4f9267e1199b700cb838a77334e4b2.tar.bz2 |
PXA: Align stack to 8 bytes
Part of this patch is by: Mikhail Kshevetskiy.
Stack must be aligned to 8 bytes on PXA (possibly all armv5te) for LDRD/STRD
instructions. In case LDRD/STRD is issued on an unaligned address, the behaviour
is undefined.
The issue was observed when working with the NAND code, which was rendered
disfunctional. Also, the vsprintf() function had serious problems with printing
64bit wide long longs. After aligning the stack, this wrong behaviour is no
longer present.
Tested on:
Marvell Littleton PXA310 board
Toradex Colibri PXA320 board
Aeronix Zipit Z2 PXA270 handheld
Voipac PXA270 board
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Diffstat (limited to 'arch/arm/include')
0 files changed, 0 insertions, 0 deletions