summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/nvidia/tegra124/uart.c2
-rw-r--r--src/soc/samsung/exynos5250/uart.c2
-rw-r--r--src/soc/samsung/exynos5420/uart.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/nvidia/tegra124/uart.c b/src/soc/nvidia/tegra124/uart.c
index 71a951fd88..fd8074daa0 100644
--- a/src/soc/nvidia/tegra124/uart.c
+++ b/src/soc/nvidia/tegra124/uart.c
@@ -95,7 +95,7 @@ static int tegra124_uart_tst_byte(struct tegra124_uart *uart_ptr)
return (read8(&uart_ptr->lsr) & UART8250_LSR_DR) == UART8250_LSR_DR;
}
-unsigned int uart_platform_base(int idx)
+uintptr_t uart_platform_base(int idx)
{
//Default to UART A
unsigned int base = 0x70006000;
diff --git a/src/soc/samsung/exynos5250/uart.c b/src/soc/samsung/exynos5250/uart.c
index cc97291807..c02cdf74c0 100644
--- a/src/soc/samsung/exynos5250/uart.c
+++ b/src/soc/samsung/exynos5250/uart.c
@@ -157,7 +157,7 @@ static void exynos5_uart_tx_flush(struct s5p_uart *uart)
while (readl(&uart->ufstat) & 0x1ff0000);
}
-unsigned int uart_platform_base(int idx)
+uintptr_t uart_platform_base(int idx)
{
if (idx < 4)
return 0x12c00000 + idx * 0x10000;
diff --git a/src/soc/samsung/exynos5420/uart.c b/src/soc/samsung/exynos5420/uart.c
index be96d5b86c..b7ef0cb1bc 100644
--- a/src/soc/samsung/exynos5420/uart.c
+++ b/src/soc/samsung/exynos5420/uart.c
@@ -149,7 +149,7 @@ static void exynos5_uart_tx_byte(struct s5p_uart *uart, unsigned char data)
writeb(data, &uart->utxh);
}
-unsigned int uart_platform_base(int idx)
+uintptr_t uart_platform_base(int idx)
{
if (idx < 4)
return 0x12c00000 + idx * 0x10000;