mb/google/auron: Drop `variant_romstage_entry`

Replace it with `mainboard_post_raminit`.

Change-Id: I94636c775cee6c14317ecff36972e2d267d28c91
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49774
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
This commit is contained in:
Angel Pons 2021-01-20 22:29:40 +01:00 committed by Michael Niewöhner
parent 292a764141
commit 3ece16410f
5 changed files with 4 additions and 11 deletions

View File

@ -7,10 +7,6 @@
#include <soc/romstage.h>
#include "variant.h"
__weak void variant_romstage_entry(struct romstage_params *rp)
{
}
void mainboard_pre_raminit(struct romstage_params *rp)
{
/* Fill out PEI DATA */
@ -19,8 +15,6 @@ void mainboard_pre_raminit(struct romstage_params *rp)
}
void mainboard_post_raminit(struct romstage_params *rp)
__weak void mainboard_post_raminit(struct romstage_params *rp)
{
/* Do variant-specific init */
variant_romstage_entry(rp);
}

View File

@ -9,7 +9,6 @@
int variant_smbios_data(struct device *dev, int *handle,
unsigned long *current);
void variant_romstage_entry(struct romstage_params *rp);
void lan_init(void);
void mainboard_fill_spd_data(struct pei_data *pei_data);

View File

@ -24,7 +24,7 @@ int variant_smbios_data(struct device *dev, int *handle, unsigned long *current)
return len;
}
void variant_romstage_entry(struct romstage_params *rp)
void mainboard_post_raminit(struct romstage_params *rp)
{
if (rp->power_state->prev_sleep_state != ACPI_S3)
google_chromeec_kbbacklight(75);

View File

@ -34,7 +34,7 @@ int variant_smbios_data(struct device *dev, int *handle, unsigned long *current)
return len;
}
void variant_romstage_entry(struct romstage_params *rp)
void mainboard_post_raminit(struct romstage_params *rp)
{
if (rp->power_state->prev_sleep_state != ACPI_S3)
google_chromeec_kbbacklight(75);

View File

@ -21,7 +21,7 @@ int variant_smbios_data(struct device *dev, int *handle, unsigned long *current)
return 0;
}
void variant_romstage_entry(struct romstage_params *rp)
void mainboard_post_raminit(struct romstage_params *rp)
{
if (rp->power_state->prev_sleep_state != ACPI_S3)
google_chromeec_kbbacklight(100);