From cdb81500f1fbfef2865e692e1193e39a56f9bca2 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Sat, 29 May 2021 06:48:38 +0200 Subject: [PATCH] cpu/intel/car/romstage.c: Drop unused function argument This is a leftover when migrating to C_ENV_BOOTBLOCK Change-Id: Ibc610cd15448632dc13d87094853d9b981e2679b Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/55062 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/cpu/intel/car/romstage.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/cpu/intel/car/romstage.c b/src/cpu/intel/car/romstage.c index 4b4a4abef3..63ddd748f0 100644 --- a/src/cpu/intel/car/romstage.c +++ b/src/cpu/intel/car/romstage.c @@ -16,7 +16,7 @@ static struct postcar_frame early_mtrrs; -static void romstage_main(unsigned long bist) +static void romstage_main(void) { int i; const int num_guards = 64; @@ -58,11 +58,6 @@ static void romstage_main(unsigned long bist) /* We do not return here. */ } -/* We don't carry BIST from bootblock in a good location to read from. - * Any error should have been reported in bootblock already. - */ -#define NO_BIST 0 - asmlinkage void car_stage_entry(void) { timestamp_add_now(TS_START_ROMSTAGE); @@ -70,5 +65,5 @@ asmlinkage void car_stage_entry(void) /* Assumes the hardware was set up during the bootblock */ console_init(); - romstage_main(NO_BIST); + romstage_main(); }