summaryrefslogtreecommitdiff
path: root/src/drivers/intel/fsp2_0
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2020-11-30 13:44:17 +0100
committerPatrick Rudolph <siro@das-labor.org>2020-12-01 16:01:19 +0000
commit90fda02f60309e0b843c805026d6a2978d9bd73d (patch)
tree87e638aabd01e41e2a8adee914ac19f97943506e /src/drivers/intel/fsp2_0
parent3805354ff9a47d846b8b2667c21a0d662780f9e8 (diff)
drivers/intel/fsp2_0/notify: Fix compilation under x86_64
Change-Id: Id63b9b372bf23e80e25b7dbef09d1b8bfa9be069 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48168 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/drivers/intel/fsp2_0')
-rw-r--r--src/drivers/intel/fsp2_0/notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/intel/fsp2_0/notify.c b/src/drivers/intel/fsp2_0/notify.c
index 76cdf1281e..ee04630ca1 100644
--- a/src/drivers/intel/fsp2_0/notify.c
+++ b/src/drivers/intel/fsp2_0/notify.c
@@ -57,7 +57,7 @@ static void fsp_notify(enum fsp_notify_phase phase)
static void fsp_notify_dummy(void *arg)
{
- enum fsp_notify_phase phase = (uint32_t)arg;
+ enum fsp_notify_phase phase = (uint32_t)(uintptr_t)arg;
display_mtrrs();