diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2016-11-19 16:39:21 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2016-11-20 03:10:06 +0100 |
commit | dfb2de80ec7a4cc26bc31158405620e807072714 (patch) | |
tree | 2ef8da024f7ec3f7f6859836f1c1b03fea464161 /src/cpu | |
parent | 1f0ce3a80ed16e7d3a0737720ff6276e4a5893e5 (diff) |
intel car: Move pre-ram stack guard lower
SPD data alone consumes 0x400 of pre-ram stack, so the guard was
initially set too high, printing spurious "smashed stack detected"
messages at end of romstage.
Use the same stack size as haswell.
Change-Id: I24fff6228bc5207750a3c4bf8cf34e91cf35e716
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/17501
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/intel/car/romstage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/intel/car/romstage.c b/src/cpu/intel/car/romstage.c index d04b6e120c..4f600342ec 100644 --- a/src/cpu/intel/car/romstage.c +++ b/src/cpu/intel/car/romstage.c @@ -16,7 +16,7 @@ #include <cpu/intel/romstage.h> #include <program_loading.h> -#define DCACHE_RAM_ROMSTAGE_STACK_SIZE 0x800 +#define DCACHE_RAM_ROMSTAGE_STACK_SIZE 0x2000 void * asmlinkage romstage_main(unsigned long bist) { |