diff options
author | Richard Spiegel <richard.spiegel@silverbackltd.com> | 2017-12-26 08:26:31 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-01-23 05:46:04 +0000 |
commit | d1a44a140b942d8452bdd415c8af33deaccf3c8c (patch) | |
tree | 1823e0d49def360c08cb46c6edb026d419cca212 /src | |
parent | ba29c9992cc0ebb5724583a4ace6499feb70efdc (diff) | |
download | coreboot-d1a44a140b942d8452bdd415c8af33deaccf3c8c.tar.xz |
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 <richard.spiegel@silverbackltd.com>
Reviewed-on: https://review.coreboot.org/22989
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/amd/gardenia/bootblock/gpio.c | 4 | ||||
-rw-r--r-- | src/mainboard/google/kahlee/BiosCallOuts.c | 4 | ||||
-rw-r--r-- | 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 <stdlib.h> #include <baseboard/variants.h> -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 <amdblocks/dimm_spd.h> #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; |