From 2adb297cf930ff5c2d78d828d801461feae3254b Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Thu, 16 Oct 2014 10:53:48 +0000 Subject: uarts: 32/64 cleanup We had lots of casts that caused warnings when compiling on RISCV. Clean them up. Change-Id: I46fcb33147ad6bf75e49ebfdfa05990e8c7ae4eb Signed-off-by: Ronald G. Minnich Reviewed-on: http://review.coreboot.org/7066 Reviewed-by: Edward O'Callaghan Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/soc/samsung/exynos5420/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/soc/samsung/exynos5420') 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; -- cgit v1.2.3