From d1a44a140b942d8452bdd415c8af33deaccf3c8c Mon Sep 17 00:00:00 2001 From: Richard Spiegel Date: Tue, 26 Dec 2017 08:26:31 -0700 Subject: [PATCH] google/kahlee/BiosCallOuts.c: Remove platform_FchParams_reset Function platform_FchParams_reset() is now an empty function, remove it, its header declaration and its use. BUG=b:64140392 TEST=Build kahlee. Change-Id: I3f3efc072a2e198433d0e261dacbbd4a8ff327d7 Signed-off-by: Richard Spiegel Reviewed-on: https://review.coreboot.org/22989 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/mainboard/amd/gardenia/bootblock/gpio.c | 4 ---- src/mainboard/google/kahlee/BiosCallOuts.c | 4 ---- src/soc/amd/stoneyridge/BiosCallOuts.c | 3 +++ 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/mainboard/amd/gardenia/bootblock/gpio.c b/src/mainboard/amd/gardenia/bootblock/gpio.c index dc5ae40643..54d966e251 100644 --- a/src/mainboard/amd/gardenia/bootblock/gpio.c +++ b/src/mainboard/amd/gardenia/bootblock/gpio.c @@ -46,10 +46,6 @@ const struct soc_amd_stoneyridge_gpio gpio_set_stage_ram[] = { {GPIO_70, Function0, FCH_GPIO_PULL_UP_ENABLE | OUTPUT_H }, }; -void platform_FchParams_reset(FCH_RESET_DATA_BLOCK *FchParams_reset) -{ -} - const struct soc_amd_stoneyridge_gpio *board_get_gpio(size_t *size) { if (GPIO_TABLE_BOOTBLOCK) { diff --git a/src/mainboard/google/kahlee/BiosCallOuts.c b/src/mainboard/google/kahlee/BiosCallOuts.c index fafe0aa8ff..2ed1843b38 100644 --- a/src/mainboard/google/kahlee/BiosCallOuts.c +++ b/src/mainboard/google/kahlee/BiosCallOuts.c @@ -19,10 +19,6 @@ #include #include -void platform_FchParams_reset(FCH_RESET_DATA_BLOCK *FchParams_reset) -{ -} - void platform_FchParams_env(FCH_DATA_BLOCK *FchParams_env) { /* SDHCI/MMC configuration */ diff --git a/src/soc/amd/stoneyridge/BiosCallOuts.c b/src/soc/amd/stoneyridge/BiosCallOuts.c index cb225ecd9e..4ddcedcdd9 100644 --- a/src/soc/amd/stoneyridge/BiosCallOuts.c +++ b/src/soc/amd/stoneyridge/BiosCallOuts.c @@ -27,6 +27,9 @@ #include #include "chip.h" +void __attribute__((weak)) platform_FchParams_reset( + FCH_RESET_DATA_BLOCK *FchParams_reset) {} + AGESA_STATUS agesa_fch_initreset(UINT32 Func, UINTN FchData, VOID *ConfigPtr) { AMD_CONFIG_PARAMS *StdHeader = ConfigPtr;