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/baytrail/include/soc/romstage.h | 1 - src/soc/intel/baytrail/romstage/romstage.c | 7 ------- src/soc/intel/broadwell/include/soc/romstage.h | 1 - src/soc/intel/broadwell/romstage/romstage.c | 8 -------- 4 files changed, 17 deletions(-) (limited to 'src/soc') diff --git a/src/soc/intel/baytrail/include/soc/romstage.h b/src/soc/intel/baytrail/include/soc/romstage.h index ba12c8f75a..ac0f03bfdf 100644 --- a/src/soc/intel/baytrail/include/soc/romstage.h +++ b/src/soc/intel/baytrail/include/soc/romstage.h @@ -33,7 +33,6 @@ void mainboard_romstage_entry(struct romstage_params *params); void romstage_common(struct romstage_params *params); void *asmlinkage romstage_main(unsigned long bist, uint32_t tsc_lo, uint32_t tsc_high); -void asmlinkage romstage_after_car(void); void raminit(struct mrc_params *mp, int prev_sleep_state); void gfx_init(void); void tco_disable(void); diff --git a/src/soc/intel/baytrail/romstage/romstage.c b/src/soc/intel/baytrail/romstage/romstage.c index 0e1d57e3dd..011840461a 100644 --- a/src/soc/intel/baytrail/romstage/romstage.c +++ b/src/soc/intel/baytrail/romstage/romstage.c @@ -230,13 +230,6 @@ void romstage_common(struct romstage_params *params) romstage_handoff_init(prev_sleep_state == ACPI_S3); } -void asmlinkage romstage_after_car(void) -{ - /* Load the ramstage. */ - run_ramstage(); - while (1); -} - static inline uint32_t *stack_push(u32 *stack, u32 value) { stack = &stack[-1]; 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