summaryrefslogtreecommitdiff
path: root/arch/riscv/cpu/fu540/dram.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/cpu/fu540/dram.c')
-rw-r--r--arch/riscv/cpu/fu540/dram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/cpu/fu540/dram.c b/arch/riscv/cpu/fu540/dram.c
index 44e11bd56c..94d8018407 100644
--- a/arch/riscv/cpu/fu540/dram.c
+++ b/arch/riscv/cpu/fu540/dram.c
@@ -21,7 +21,7 @@ int dram_init_banksize(void)
return fdtdec_setup_memory_banksize();
}
-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)
{
/*
* Ensure that we run from first 4GB so that all