2 * This file is part of the coreboot project.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
17 #include <console/uart.h>
18 #include <soc/addressmap.h>
19 #include <soc/clock.h>
21 uintptr_t uart_platform_base(int idx
)
24 return FU540_UART(idx
);
29 unsigned int uart_platform_refclk(void)
31 return clock_get_tlclk_khz() * KHz
;