diff options
Diffstat (limited to 'src/soc/amd/common')
-rw-r--r-- | src/soc/amd/common/block/include/amdblocks/root_complex.h | 2 | ||||
-rw-r--r-- | src/soc/amd/common/fsp/fsp_report_resources.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/common/block/include/amdblocks/root_complex.h b/src/soc/amd/common/block/include/amdblocks/root_complex.h index d774af0d3b..0eef5e8ae5 100644 --- a/src/soc/amd/common/block/include/amdblocks/root_complex.h +++ b/src/soc/amd/common/block/include/amdblocks/root_complex.h @@ -27,6 +27,6 @@ const struct non_pci_mmio_reg *get_iohc_non_pci_mmio_regs(size_t *count); signed int get_iohc_fabric_id(struct device *domain); -void read_fsp_resources(struct device *dev, unsigned int *idx); +void read_fsp_resources(struct device *dev, unsigned long *idx); #endif /* AMD_BLOCK_ROOT_COMPLEX_H */ diff --git a/src/soc/amd/common/fsp/fsp_report_resources.c b/src/soc/amd/common/fsp/fsp_report_resources.c index bcc0715982..37049fb0df 100644 --- a/src/soc/amd/common/fsp/fsp_report_resources.c +++ b/src/soc/amd/common/fsp/fsp_report_resources.c @@ -7,7 +7,7 @@ #include <fsp/util.h> #include <types.h> -void read_fsp_resources(struct device *dev, unsigned int *idx) +void read_fsp_resources(struct device *dev, unsigned long *idx) { const uint32_t mem_usable = (uintptr_t)cbmem_top(); const struct hob_header *hob_iterator; |