summaryrefslogtreecommitdiff
path: root/src/soc/amd/stoneyridge
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-04-22 05:59:52 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-04-23 21:41:29 +0000
commit27af3e6b111f462a71762bd56363d06d73505284 (patch)
tree7becb08ed5b1670431d63f6a78edf24ad54df339 /src/soc/amd/stoneyridge
parent8c4a56a29543e495a9cd678200f01b901beeb934 (diff)
include/cpu/amd/mtrr: fix typo in get_top_of_mem_above_4gb
Add the missing 'b' to the 4gb so that get_top_of_mem_above_4gb is in line with get_top_of_mem_below_4gb. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Ic9170372d8b0c27d7de3bd04d822c95e2015cb10 Reviewed-on: https://review.coreboot.org/c/coreboot/+/74710 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Diffstat (limited to 'src/soc/amd/stoneyridge')
-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 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;