blob: 95b286ebfc59b45db50b10106055e9615b6920d7 [file] [log] [blame]
/* SPDX-License-Identifier: GPL-2.0-only */
#include <console/uart.h>
#include <types.h>
uintptr_t uart_platform_base(unsigned int idx)
{
if (idx == CONFIG_UART_FOR_CONSOLE)
return CONFIG_CONSOLE_UART_BASE_ADDRESS;
return 0;
}