Lee Leahy | 654fd07 | 2016-02-17 08:47:58 -0800 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2003 Eric Biederman |
| 5 | * Copyright (C) 2006-2010 coresystems GmbH |
| 6 | * Copyright (C) 2015-2016 Intel Corporation. |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License as published by |
| 10 | * the Free Software Foundation; version 2 of the License. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | * GNU General Public License for more details. |
| 16 | */ |
| 17 | |
| 18 | #include <console/uart.h> |
| 19 | #include <soc/iomap.h> |
| 20 | |
| 21 | unsigned int uart_platform_refclk(void) |
| 22 | { |
| 23 | return 44236800; |
| 24 | } |
| 25 | |
| 26 | uintptr_t uart_platform_base(int idx) |
| 27 | { |
| 28 | return UART_BASE_ADDRESS; |
| 29 | } |