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>
This commit is contained in:
Richard Spiegel 2017-12-26 08:26:31 -07:00 committed by Martin Roth
parent ba29c9992c
commit d1a44a140b
3 changed files with 3 additions and 8 deletions

View File

@ -46,10 +46,6 @@ const struct soc_amd_stoneyridge_gpio gpio_set_stage_ram[] = {
{GPIO_70, Function0, FCH_GPIO_PULL_UP_ENABLE | OUTPUT_H }, {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) const struct soc_amd_stoneyridge_gpio *board_get_gpio(size_t *size)
{ {
if (GPIO_TABLE_BOOTBLOCK) { if (GPIO_TABLE_BOOTBLOCK) {

View File

@ -19,10 +19,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
void platform_FchParams_reset(FCH_RESET_DATA_BLOCK *FchParams_reset)
{
}
void platform_FchParams_env(FCH_DATA_BLOCK *FchParams_env) void platform_FchParams_env(FCH_DATA_BLOCK *FchParams_env)
{ {
/* SDHCI/MMC configuration */ /* SDHCI/MMC configuration */

View File

@ -27,6 +27,9 @@
#include <amdblocks/dimm_spd.h> #include <amdblocks/dimm_spd.h>
#include "chip.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) AGESA_STATUS agesa_fch_initreset(UINT32 Func, UINTN FchData, VOID *ConfigPtr)
{ {
AMD_CONFIG_PARAMS *StdHeader = ConfigPtr; AMD_CONFIG_PARAMS *StdHeader = ConfigPtr;