aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/intel/car/core2/cache_as_ram.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/intel/car/core2/cache_as_ram.S')
-rw-r--r--src/cpu/intel/car/core2/cache_as_ram.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cpu/intel/car/core2/cache_as_ram.S b/src/cpu/intel/car/core2/cache_as_ram.S
index e70454b288..3399510b76 100644
--- a/src/cpu/intel/car/core2/cache_as_ram.S
+++ b/src/cpu/intel/car/core2/cache_as_ram.S
@@ -169,6 +169,10 @@ addrsize_set_high:
/* Setup the stack. */
movl $(CONFIG_DCACHE_RAM_BASE + CONFIG_DCACHE_RAM_SIZE), %eax
movl %eax, %esp
+ /* Align the stack 16 bytes */
+ andl $0xfffffff0, %esp
+ /* Account for pushing the BIST result */
+ subl $12, %esp
/* Restore the BIST result. */
movl %ebp, %eax