summaryrefslogtreecommitdiffstats
path: root/src/vendorcode
diff options
context:
space:
mode:
Diffstat (limited to 'src/vendorcode')
-rw-r--r--src/vendorcode/amd/opensil/genoa_poc/memmap.c2
-rw-r--r--src/vendorcode/amd/opensil/genoa_poc/opensil.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vendorcode/amd/opensil/genoa_poc/memmap.c b/src/vendorcode/amd/opensil/genoa_poc/memmap.c
index 4e5b4576f386..8b54b5f56721 100644
--- a/src/vendorcode/amd/opensil/genoa_poc/memmap.c
+++ b/src/vendorcode/amd/opensil/genoa_poc/memmap.c
@@ -84,7 +84,7 @@ static void print_memory_holes(void *unused)
BOOT_STATE_INIT_ENTRY(BS_DEV_RESOURCES, BS_ON_ENTRY, print_memory_holes, NULL);
// This assumes holes are allocated
-int add_opensil_memmap(struct device *dev, int idx)
+unsigned long add_opensil_memmap(struct device *dev, unsigned long idx)
{
ram_from_to(dev, idx++, 0, 0xa0000);
mmio_from_to(dev, idx++, 0xa0000, 0xc0000); // legacy VGA
diff --git a/src/vendorcode/amd/opensil/genoa_poc/opensil.h b/src/vendorcode/amd/opensil/genoa_poc/opensil.h
index 473238d04a67..77b3c4b69207 100644
--- a/src/vendorcode/amd/opensil/genoa_poc/opensil.h
+++ b/src/vendorcode/amd/opensil/genoa_poc/opensil.h
@@ -8,7 +8,7 @@
void SIL_STATUS_report(const char *function, const int status);
// Add the memory map to dev, starting at index idx, returns last use idx
-int add_opensil_memmap(struct device *dev, int idx);
+unsigned long add_opensil_memmap(struct device *dev, unsigned long idx);
// Fill in FADT from openSIL
void opensil_fill_fadt_io_ports(acpi_fadt_t *fadt);