summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/common/block/acpi/tables.c2
-rw-r--r--src/soc/amd/stoneyridge/northbridge.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/common/block/acpi/tables.c b/src/soc/amd/common/block/acpi/tables.c
index 17db421831..3ba9af6499 100644
--- a/src/soc/amd/common/block/acpi/tables.c
+++ b/src/soc/amd/common/block/acpi/tables.c
@@ -58,6 +58,6 @@ void acpi_fill_root_complex_tom(const struct device *device)
* Shift value right by 20 bit to make it fit into 32bit,
* giving us 1MB granularity and a limit of almost 4Exabyte of memory.
*/
- acpigen_write_name_dword("TOM2", get_top_of_mem_above_4g() >> 20);
+ acpigen_write_name_dword("TOM2", get_top_of_mem_above_4gb() >> 20);
acpigen_pop_len();
}
diff --git a/src/soc/amd/stoneyridge/northbridge.c b/src/soc/amd/stoneyridge/northbridge.c
index bafeabbe24..75fdfa4a35 100644
--- a/src/soc/amd/stoneyridge/northbridge.c
+++ b/src/soc/amd/stoneyridge/northbridge.c
@@ -328,7 +328,7 @@ void domain_read_resources(struct device *dev)
uint32_t uma_size = get_uma_size();
uint32_t mem_useable = (uintptr_t)cbmem_top();
uint32_t tom = get_top_of_mem_below_4gb();
- uint64_t high_tom = get_top_of_mem_above_4g();
+ uint64_t high_tom = get_top_of_mem_above_4gb();
uint64_t high_mem_useable;
int idx = 0x10;