From dfb2de80ec7a4cc26bc31158405620e807072714 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Sat, 19 Nov 2016 16:39:21 +0200 Subject: intel car: Move pre-ram stack guard lower MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/17501 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/cpu/intel/car/romstage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpu') 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 #include -#define DCACHE_RAM_ROMSTAGE_STACK_SIZE 0x800 +#define DCACHE_RAM_ROMSTAGE_STACK_SIZE 0x2000 void * asmlinkage romstage_main(unsigned long bist) { -- cgit v1.2.3