From fa78dd16bf33a7121452af1003fbe5d6ba2c1f05 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Thu, 2 Jul 2020 18:11:28 -0700 Subject: mb/google/zork: Drop unused function variant_romstage_entry() This change drops the function `variant_romstage_entry()` which is unused on zork. Change-Id: I140ab3e837971c4c7dbef5d27616043b5fc6c2c9 Signed-off-by: Furquan Shaikh Reviewed-on: https://review.coreboot.org/c/coreboot/+/43116 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/mainboard/google/zork/romstage.c | 7 ------- .../google/zork/variants/baseboard/include/baseboard/variants.h | 1 - 2 files changed, 8 deletions(-) (limited to 'src/mainboard/google') diff --git a/src/mainboard/google/zork/romstage.c b/src/mainboard/google/zork/romstage.c index 9d7b850ae6..3da8a53cd8 100644 --- a/src/mainboard/google/zork/romstage.c +++ b/src/mainboard/google/zork/romstage.c @@ -8,11 +8,6 @@ #include #include -void __weak variant_romstage_entry(void) -{ - /* By default, don't do anything */ -} - void mainboard_romstage_entry_s3(int s3_resume) { size_t num_gpios; @@ -23,6 +18,4 @@ void mainboard_romstage_entry_s3(int s3_resume) variant_pcie_power_reset_configure(); mainboard_ec_init(); - - variant_romstage_entry(); } diff --git a/src/mainboard/google/zork/variants/baseboard/include/baseboard/variants.h b/src/mainboard/google/zork/variants/baseboard/include/baseboard/variants.h index c3986bcbf8..ac29b92e0d 100644 --- a/src/mainboard/google/zork/variants/baseboard/include/baseboard/variants.h +++ b/src/mainboard/google/zork/variants/baseboard/include/baseboard/variants.h @@ -32,7 +32,6 @@ const struct soc_amd_gpio *variant_override_gpio_table(size_t *size); */ const struct soc_amd_gpio *variant_sleep_gpio_table(size_t *size, int slp_typ); -void variant_romstage_entry(void); /* Modify devictree settings during ramstage. */ void variant_devtree_update(void); /* Update audio configuration in devicetree during ramstage. */ -- cgit v1.2.3