summaryrefslogtreecommitdiff
path: root/src/soc/sifive
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/sifive')
-rw-r--r--src/soc/sifive/fu540/uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/sifive/fu540/uart.c b/src/soc/sifive/fu540/uart.c
index c35e0f6166..353f6cd624 100644
--- a/src/soc/sifive/fu540/uart.c
+++ b/src/soc/sifive/fu540/uart.c
@@ -6,7 +6,7 @@
#include <soc/addressmap.h>
#include <soc/clock.h>
-uintptr_t uart_platform_base(int idx)
+uintptr_t uart_platform_base(unsigned int idx)
{
if (idx < 2)
return FU540_UART(idx);