From 7eb363c505f26aa8cc0a30f5b6c0229ca8914489 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Mon, 16 Oct 2017 14:55:53 -0600 Subject: Stoney Ridge Platforms: cast AGESA tables to void * In the original AGESA headers, these tables are not defined as const. Cast them to void * so that they'll work with either version of the headers. BUG=b:64766233 TEST=Build in cros tree and upstream coreboot, with old headers and updated headers. Change-Id: I75387b57caf5a3c6c25655120aafd942254b5c73 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/22059 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/mainboard/google/kahlee/BiosCallOuts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/google/kahlee/BiosCallOuts.c') diff --git a/src/mainboard/google/kahlee/BiosCallOuts.c b/src/mainboard/google/kahlee/BiosCallOuts.c index 82f13d6e66..49f7190a4e 100644 --- a/src/mainboard/google/kahlee/BiosCallOuts.c +++ b/src/mainboard/google/kahlee/BiosCallOuts.c @@ -23,7 +23,7 @@ extern const GPIO_CONTROL oem_kahlee_gpio[]; void platform_FchParams_env(FCH_DATA_BLOCK *FchParams_env) { - FchParams_env->PostOemGpioTable = oem_kahlee_gpio; + FchParams_env->PostOemGpioTable = (void *)oem_kahlee_gpio; /* SDHCI/MMC configuration */ FchParams_env->Sd.SdSlotType = 1; // EMMC -- cgit v1.2.3