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:
@@ -153,7 +153,7 @@ unsigned int uart_platform_refclk(void)
|
||||
return 48000000;
|
||||
}
|
||||
|
||||
unsigned int uart_platform_base(int idx)
|
||||
uintptr_t uart_platform_base(int idx)
|
||||
{
|
||||
const unsigned int bases[] = {
|
||||
0x44e09000, 0x48022000, 0x48024000,
|
||||
|
Reference in New Issue
Block a user