diff options
Diffstat (limited to 'src/mainboard/amd')
-rw-r--r-- | src/mainboard/amd/gardenia/bootblock/BiosCallOuts.c | 2 | ||||
-rw-r--r-- | src/mainboard/amd/gardenia/bootblock/OemCustomize.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/amd/gardenia/bootblock/BiosCallOuts.c b/src/mainboard/amd/gardenia/bootblock/BiosCallOuts.c index 6aebe4f988..8ab4240c16 100644 --- a/src/mainboard/amd/gardenia/bootblock/BiosCallOuts.c +++ b/src/mainboard/amd/gardenia/bootblock/BiosCallOuts.c @@ -47,5 +47,5 @@ static const GPIO_CONTROL oem_gardenia_gpio[] = { void platform_FchParams_reset(FCH_RESET_DATA_BLOCK *FchParams_reset) { - FchParams_reset->EarlyOemGpioTable = oem_gardenia_gpio; + FchParams_reset->EarlyOemGpioTable = (void *)oem_gardenia_gpio; } diff --git a/src/mainboard/amd/gardenia/bootblock/OemCustomize.c b/src/mainboard/amd/gardenia/bootblock/OemCustomize.c index 52148fdf0e..53b4a6ca04 100644 --- a/src/mainboard/amd/gardenia/bootblock/OemCustomize.c +++ b/src/mainboard/amd/gardenia/bootblock/OemCustomize.c @@ -102,8 +102,8 @@ static const PCIe_DDI_DESCRIPTOR DdiList[] = { static const PCIe_COMPLEX_DESCRIPTOR PcieComplex = { .Flags = DESCRIPTOR_TERMINATE_LIST, .SocketId = 0, - .PciePortList = PortList, - .DdiLinkList = DdiList + .PciePortList = (void *)PortList, + .DdiLinkList = (void *)DdiList }; static const UINT32 AzaliaCodecAlc286Table[] = { @@ -150,7 +150,7 @@ static CONST CODEC_VERB_TABLE_LIST CodecTableList[] = { /*---------------------------------------------------------------------------*/ VOID OemCustomizeInitEarly(IN OUT AMD_EARLY_PARAMS *InitEarly) { - InitEarly->GnbConfig.PcieComplexList = &PcieComplex; + InitEarly->GnbConfig.PcieComplexList = (void *)&PcieComplex; InitEarly->PlatformConfig.AzaliaCodecVerbTable = (uint64_t)(uintptr_t)CodecTableList; } |