summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/spike-riscv/uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/emulation/spike-riscv/uart.c')
-rw-r--r--src/mainboard/emulation/spike-riscv/uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/emulation/spike-riscv/uart.c b/src/mainboard/emulation/spike-riscv/uart.c
index d6e0510274..efefc52d62 100644
--- a/src/mainboard/emulation/spike-riscv/uart.c
+++ b/src/mainboard/emulation/spike-riscv/uart.c
@@ -3,7 +3,7 @@
#include <types.h>
#include <console/uart.h>
-uintptr_t uart_platform_base(int idx)
+uintptr_t uart_platform_base(unsigned int idx)
{
return (uintptr_t) 0x02100000;
}