From acaa581a474660e9c34cb4930cd63c77660f6e16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Sun, 23 Dec 2018 07:11:14 +0200 Subject: soc/intel: Drop romstage_after_car() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Platforms moved to POSTCAR_STAGE so these are no longer used. Change-Id: I9a7b5a1f29b402d0e996f2c2f8c6db3800cdddf3 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/30387 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans --- src/soc/intel/broadwell/include/soc/romstage.h | 1 - src/soc/intel/broadwell/romstage/romstage.c | 8 -------- 2 files changed, 9 deletions(-) (limited to 'src/soc/intel/broadwell') diff --git a/src/soc/intel/broadwell/include/soc/romstage.h b/src/soc/intel/broadwell/include/soc/romstage.h index e52004bfd5..e2f99f252b 100644 --- a/src/soc/intel/broadwell/include/soc/romstage.h +++ b/src/soc/intel/broadwell/include/soc/romstage.h @@ -31,7 +31,6 @@ void mainboard_romstage_entry(struct romstage_params *params); void romstage_common(struct romstage_params *params); asmlinkage void *romstage_main(unsigned long bist, uint32_t tsc_lo, uint32_t tsc_high); -asmlinkage void romstage_after_car(void); void raminit(struct pei_data *pei_data); void *setup_stack_and_mtrrs(void); diff --git a/src/soc/intel/broadwell/romstage/romstage.c b/src/soc/intel/broadwell/romstage/romstage.c index 1e925212b4..afc8216677 100644 --- a/src/soc/intel/broadwell/romstage/romstage.c +++ b/src/soc/intel/broadwell/romstage/romstage.c @@ -139,12 +139,4 @@ void romstage_common(struct romstage_params *params) romstage_handoff_init(params->power_state->prev_sleep_state == ACPI_S3); } -asmlinkage void romstage_after_car(void) -{ - /* Load the ramstage. */ - run_ramstage(); - while (1) - ; -} - void __weak mainboard_pre_console_init(void) {} -- cgit v1.2.3