Patrick Rudolph has uploaded this change for review.

View Change

soc/intel/common/block/systemagent: Fix compilation on x86_64

Change-Id: Ibc8dc1cf33f594284edb82d4730967e077739c3c
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
---
M src/soc/intel/common/block/systemagent/systemagent_early.c
1 file changed, 2 insertions(+), 2 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/67/48167/1
diff --git a/src/soc/intel/common/block/systemagent/systemagent_early.c b/src/soc/intel/common/block/systemagent/systemagent_early.c
index 53d6077..ca11ee6 100644
--- a/src/soc/intel/common/block/systemagent/systemagent_early.c
+++ b/src/soc/intel/common/block/systemagent/systemagent_early.c
@@ -95,8 +95,8 @@
base = fixed_set_resources[i].base;
index = fixed_set_resources[i].index;
if (base >> 32)
- write32((void *)(MCH_BASE_ADDRESS + index + 4), base >> 32);
- write32((void *)(MCH_BASE_ADDRESS + index), (base & 0xffffffff) | 1);
+ write32((void *)(uintptr_t)(MCH_BASE_ADDRESS + index + 4), base >> 32);
+ write32((void *)(uintptr_t)(MCH_BASE_ADDRESS + index), (base & 0xffffffff) | 1);
}
}


To view, visit change 48167. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibc8dc1cf33f594284edb82d4730967e077739c3c
Gerrit-Change-Number: 48167
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Rudolph <patrick.rudolph@9elements.com>
Gerrit-Reviewer: Patrick Rudolph <siro@das-labor.org>
Gerrit-MessageType: newchange