diff options
Diffstat (limited to 'payloads/libpayload/drivers/serial/tegra.c')
-rw-r--r-- | payloads/libpayload/drivers/serial/tegra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/drivers/serial/tegra.c b/payloads/libpayload/drivers/serial/tegra.c index fa5ff16526a2..a3dad2b09f00 100644 --- a/payloads/libpayload/drivers/serial/tegra.c +++ b/payloads/libpayload/drivers/serial/tegra.c @@ -99,7 +99,7 @@ void serial_init(void) if (!lib_sysinfo.serial || !lib_sysinfo.serial->baseaddr) return; - uart_regs = (struct tegra_uart *)lib_sysinfo.serial->baseaddr; + uart_regs = (struct tegra_uart *)(uintptr_t)lib_sysinfo.serial->baseaddr; } void serial_console_init(void) |