From 03a339126b35341b3b1baa85e596602a7facb1ed Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Mon, 30 Nov 2020 17:45:42 +0100 Subject: soc/intel/skylake: Fix compilation under x86_64 Change-Id: I37382ab06a8f1760e955d1ec76a6a00958b05999 Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/c/coreboot/+/48177 Reviewed-by: Arthur Heymans Tested-by: build bot (Jenkins) --- src/soc/intel/skylake/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/soc/intel/skylake/irq.c') diff --git a/src/soc/intel/skylake/irq.c b/src/soc/intel/skylake/irq.c index ad75f027a1..2f0fd97a77 100644 --- a/src/soc/intel/skylake/irq.c +++ b/src/soc/intel/skylake/irq.c @@ -175,7 +175,7 @@ void soc_irq_settings(FSP_SIL_UPD *params) intdeventry = ARRAY_SIZE(devintconfig); /* update irq table */ memcpy((SI_PCH_DEVICE_INTERRUPT_CONFIG *) - (params->DevIntConfigPtr), devintconfig, intdeventry * + (uintptr_t)(params->DevIntConfigPtr), devintconfig, intdeventry * sizeof(SI_PCH_DEVICE_INTERRUPT_CONFIG)); params->NumOfDevIntConfig = intdeventry; -- cgit v1.2.3