George McCollister | aedc33d | 2016-06-21 12:07:33 -0500 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2016 Stefan Roese <sr@denx.de> |
| 3 | * Copyright (C) 2016 George McCollister <george.mccollister@gmail.com> |
| 4 | * |
| 5 | * SPDX-License-Identifier: GPL-2.0+ |
| 6 | */ |
| 7 | |
| 8 | #include <common.h> |
| 9 | |
| 10 | int board_early_init_f(void) |
| 11 | { |
| 12 | /* |
| 13 | * The FSP enables the BayTrail internal legacy UART (again). |
| 14 | * Disable it again, so that the one on the EC can be used. |
| 15 | */ |
| 16 | setup_internal_uart(0); |
| 17 | |
| 18 | return 0; |
| 19 | } |
| 20 | |
| 21 | int arch_early_init_r(void) |
| 22 | { |
| 23 | return 0; |
| 24 | } |