arch/x86: Adjust size of postcar stack
With VBOOT=y && VBOOT_MEASURED_BOOT=y message digest will be allocated from the stack and 1 KiB reserve used with the recent platforms was no longer sufficient. The comment of LZMA scratchpad consuming stack was obsolete for postcar, so these can be reduced to same 4 KiB. Change-Id: Iba1fb5bfad6946f316feac2d8c998a782142a56a Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com> Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33775 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <arch/cpu.h>
|
||||
#include <arch/symbols.h>
|
||||
#include <console/console.h>
|
||||
#include <cbmem.h>
|
||||
@@ -61,7 +62,7 @@ asmlinkage void car_stage_c_entry(void)
|
||||
/* Initialize the PCIe bridges */
|
||||
pcie_init();
|
||||
|
||||
if (postcar_frame_init(&pcf, 1*KiB))
|
||||
if (postcar_frame_init(&pcf, 0))
|
||||
die("Unable to initialize postcar frame.\n");
|
||||
|
||||
/* Locate the top of RAM */
|
||||
|
Reference in New Issue
Block a user