summaryrefslogtreecommitdiff
path: root/arch/mips/mach-octeon/dram.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/mach-octeon/dram.c')
-rw-r--r--arch/mips/mach-octeon/dram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mach-octeon/dram.c b/arch/mips/mach-octeon/dram.c
index 85cb084c13..5b1311d8b5 100644
--- a/arch/mips/mach-octeon/dram.c
+++ b/arch/mips/mach-octeon/dram.c
@@ -77,7 +77,7 @@ phys_size_t get_effective_memsize(void)
return UBOOT_RAM_SIZE_MAX;
}
-phys_size_t board_get_usable_ram_top(phys_size_t total_size)
+phys_addr_t board_get_usable_ram_top(phys_size_t total_size)
{
if (IS_ENABLED(CONFIG_RAM_OCTEON)) {
/* Map a maximum of 256MiB - return not size but address */