]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm926ejs: 8-byte align stack to avoid LDRD/STRD problems
authorSimon Kagstrom <simon.kagstrom@netinsight.net>
Tue, 6 Oct 2009 06:44:22 +0000 (08:44 +0200)
committerTom Rix <Tom.Rix@windriver.com>
Sat, 24 Oct 2009 14:55:25 +0000 (09:55 -0500)
commit8003c361deec3ee651451662efd05352f1abdd40
tree00cb74e53916da716b68fce2c65e83d4a15b29dd
parente63e5904b48528f3f3cc98317df6fc62fab25bf9
arm926ejs: 8-byte align stack to avoid LDRD/STRD problems

U-boot for Marvell Kirkwood boards no longer work after the EABI changes
introduced in commit f772acf8a584067033eff1e231fcd1fb3a00d3d9. This
turns out to be caused by a stack alignment issue. The armv5te
instructions ldrd/strd instructions require 8-byte alignment to work
properly (otherwise undefined behavior).

Tested on an OpenRD base board, where both printouts and ubifs stuff now
works.

Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
cpu/arm926ejs/start.S