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 <rminnich@gmail.com>
Reviewed-on: http://review.coreboot.org/7066
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Ronald G. Minnich
2014-10-16 10:53:48 +00:00
parent ff178beee5
commit 2adb297cf9
8 changed files with 8 additions and 8 deletions

View File

@@ -77,7 +77,7 @@ static int oxpcie_uart_active(void)
return (car_get_var(oxpcie_present));
}
unsigned int uart_platform_base(int idx)
uintptr_t uart_platform_base(int idx)
{
if (idx == 0 && oxpcie_uart_active())
return uart0_base;