summaryrefslogtreecommitdiff
path: root/src/soc/amd/stoneyridge/northbridge.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/stoneyridge/northbridge.c')
-rw-r--r--src/soc/amd/stoneyridge/northbridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/stoneyridge/northbridge.c b/src/soc/amd/stoneyridge/northbridge.c
index 068ba56c6e..ccfa9cbbe5 100644
--- a/src/soc/amd/stoneyridge/northbridge.c
+++ b/src/soc/amd/stoneyridge/northbridge.c
@@ -276,7 +276,7 @@ struct device_operations stoneyridge_northbridge_operations = {
*/
void amd_initcpuio(void)
{
- uintptr_t topmem = amd_topmem();
+ uintptr_t topmem = get_top_of_mem_below_4gb();
uintptr_t base, limit;
/* Enable legacy video routing: D18F1xF4 VGA Enable */