diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2024-03-22 17:11:05 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-03-23 21:24:32 +0000 |
commit | 38f96b9716635ad45d95a553443290a2ac6807c7 (patch) | |
tree | a35e3644eff7bda0369296a2a62c8bf08f3b9504 /src/soc/amd/common/block/include | |
parent | b985cc0440ec30b66d2fb9eba34c9b42d830b3a3 (diff) |
soc/amd/common/noncar/memmap: reduce visibility of memmap_early_dram
The memmap_early_dram struct is now only used inside the non-CAR
memmap.c, so move the struct definition there.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Id2bb3d3a9e01e9bae9463c582cb105b95c673a38
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81432
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Diffstat (limited to 'src/soc/amd/common/block/include')
-rw-r--r-- | src/soc/amd/common/block/include/amdblocks/memmap.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/soc/amd/common/block/include/amdblocks/memmap.h b/src/soc/amd/common/block/include/amdblocks/memmap.h index 258b8b7d86..e769df6aa6 100644 --- a/src/soc/amd/common/block/include/amdblocks/memmap.h +++ b/src/soc/amd/common/block/include/amdblocks/memmap.h @@ -9,12 +9,6 @@ DECLARE_REGION(early_reserved_dram) -struct memmap_early_dram { - /* fixed size types, so the layout in CBMEM won't change for 32 vs. 64 bit stages */ - uint32_t base; - uint32_t size; -}; - void memmap_stash_early_dram_usage(void); /* report SoC memory map up to cbmem_top */ |