summaryrefslogtreecommitdiff
path: root/src/mainboard/google/kahlee/bootblock/OemCustomize.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/kahlee/bootblock/OemCustomize.c')
-rw-r--r--src/mainboard/google/kahlee/bootblock/OemCustomize.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/google/kahlee/bootblock/OemCustomize.c b/src/mainboard/google/kahlee/bootblock/OemCustomize.c
index 38d08e553f..9530169edc 100644
--- a/src/mainboard/google/kahlee/bootblock/OemCustomize.c
+++ b/src/mainboard/google/kahlee/bootblock/OemCustomize.c
@@ -101,8 +101,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
};
/*---------------------------------------------------------------------------*/
@@ -123,7 +123,7 @@ static const PCIe_COMPLEX_DESCRIPTOR PcieComplex = {
/*---------------------------------------------------------------------------*/
VOID OemCustomizeInitEarly(IN OUT AMD_EARLY_PARAMS *InitEarly)
{
- InitEarly->GnbConfig.PcieComplexList = &PcieComplex;
+ InitEarly->GnbConfig.PcieComplexList = (void *)&PcieComplex;
InitEarly->PlatformConfig.GnbAzI2sBusSelect = GnbAcpI2sBus;
InitEarly->PlatformConfig.GnbAzI2sBusPinConfig = GnbAcp2Tx4RxBluetooth;
}