commit | 1b457f851795a2bae402a0c1e9e190cb5c6add20 | [log] [tgz] |
---|---|---|
author | Felix Held <felix.held@amd.corp-partner.google.com> | Sun Apr 19 00:02:01 2020 +0200 |
committer | Patrick Georgi <pgeorgi@google.com> | Mon Apr 20 06:43:36 2020 +0000 |
tree | 36d5fdbc366151e2581f6205ec8dff9d6904c698 | |
parent | 4ec683d0776c50af3d93d158235b834f5d65b579 [diff] [blame] |
soc/amd/stoneyridge/memmap: fix bug in bert_reserved_region Changing the local pointer "start" has no effect. Changing the value it points to has. Change-Id: I1b689896fcf255b795b27d7a7163849d6dfdb00e Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40506 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
diff --git a/src/soc/amd/stoneyridge/memmap.c b/src/soc/amd/stoneyridge/memmap.c index 0c8d9c0..34ddcb3 100644 --- a/src/soc/amd/stoneyridge/memmap.c +++ b/src/soc/amd/stoneyridge/memmap.c
@@ -32,7 +32,7 @@ if (CONFIG(ACPI_BERT)) *start = cbmem_top(); else - start = NULL; + *start = NULL; *size = BERT_REGION_MAX_SIZE; }