the following patch was just integrated into master: commit 2d6797b8222938f2c28e60b9d930d78bd458c431 Author: Vladimir Serbinenko phcoder@gmail.com Date: Tue Nov 26 17:49:29 2013 +0100
amd/car/post_cache_as_ram: Switch stack in assembly rather than in C
Compiler may do loads of optimisations around stack switch and so it's allowed to break stack switch as it sees fit. Do it in assembly instead.
Not tested.
Change-Id: I277a62a9052e8fe9b04e7c65d149e087282ac2a2 Signed-off-by: Vladimir Serbinenko phcoder@gmail.com
See http://review.coreboot.org/4286 for details.
-gerrit