| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | |
| 3 | #ifndef AMD_BLOCK_MEMMAP_H |
| 4 | #define AMD_BLOCK_MEMMAP_H |
| 5 | |
| 6 | #include <device/device.h> |
| 7 | #include <stdint.h> |
| 8 | #include <symbols.h> |
| 9 | |
| 10 | DECLARE_REGION(early_reserved_dram) |
| 11 | |
| 12 | void memmap_stash_early_dram_usage(void); |
| 13 | |
| 14 | /* report SoC memory map up to cbmem_top */ |
| 15 | void read_lower_soc_memmap_resources(struct device *dev, unsigned long *idx); |
| 16 | |
| 17 | void fsp_get_smm_region(uintptr_t *start, size_t *size); |
| 18 | |
| 19 | #endif /* AMD_BLOCK_MEMMAP_H */ |