diff options
Diffstat (limited to 'src/soc/amd/common/block/include/amdblocks')
-rw-r--r-- | src/soc/amd/common/block/include/amdblocks/memmap.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/include/amdblocks/memmap.h b/src/soc/amd/common/block/include/amdblocks/memmap.h new file mode 100644 index 0000000000..a748e57316 --- /dev/null +++ b/src/soc/amd/common/block/include/amdblocks/memmap.h @@ -0,0 +1,19 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#ifndef AMD_BLOCK_MEMMAP_H +#define AMD_BLOCK_MEMMAP_H + +#include <stdint.h> +#include <symbols.h> + +DECLARE_REGION(early_reserved_dram) + +struct memmap_early_dram { + uint32_t base; + uint32_t size; +}; + +void memmap_stash_early_dram_usage(void); +const struct memmap_early_dram *memmap_get_early_dram_usage(void); + +#endif /* AMD_BLOCK_MEMMAP_H */ |