soc/intel: Drop romstage_after_car()
Platforms moved to POSTCAR_STAGE so these are no longer used. Change-Id: I9a7b5a1f29b402d0e996f2c2f8c6db3800cdddf3 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/30387 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
@ -58,9 +58,3 @@ asmlinkage void *romstage_main(unsigned long bist)
|
||||
/* We do not return. */
|
||||
return NULL;
|
||||
}
|
||||
|
||||
asmlinkage void romstage_after_car(void)
|
||||
{
|
||||
/* Load the ramstage. */
|
||||
run_ramstage();
|
||||
}
|
||||
|
@ -27,8 +27,5 @@ void platform_enter_postcar(void);
|
||||
/* romstage_main is called from the cache-as-ram assembly file to prepare
|
||||
* CAR stack guards.*/
|
||||
asmlinkage void *romstage_main(unsigned long bist);
|
||||
/* romstage_after_car() is the C function called after cache-as-ram has
|
||||
* been torn down. It is responsible for loading the ramstage. */
|
||||
asmlinkage void romstage_after_car(void);
|
||||
|
||||
#endif /* _CPU_INTEL_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);
|
||||
|
@ -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];
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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) {}
|
||||
|
Reference in New Issue
Block a user