u-boot/board/advantech/som-db5800-som-6867/som-db5800-som-6867.c
Bin Meng 5d89b37f71 x86: kconfig: Select ARCH_EARLY_INIT_R in the platform Kconfig
This is architecture-dependent early initialization hence should
be put in the platform Kconfig.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-08-01 20:17:02 +08:00

19 lines
392 B
C

/*
* Copyright (C) 2016 Stefan Roese <sr@denx.de>
* Copyright (C) 2016 George McCollister <george.mccollister@gmail.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
int board_early_init_f(void)
{
/*
* The FSP enables the BayTrail internal legacy UART (again).
* Disable it again, so that the one on the EC can be used.
*/
setup_internal_uart(0);
return 0;
}