upstream u-boot with additional patches for our devices/boards:
https://lists.denx.de/pipermail/u-boot/2017-March/282789.html (AXP crashes) ;
Gbit ethernet patch for some LIME2 revisions ;
with SPI flash support
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
629 B
30 lines
629 B
/*
|
|
* Copyright (C) 2016 Stefan Roese <sr@denx.de>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#include <common.h>
|
|
#include <nuvoton_nct6102d.h>
|
|
#include <asm/gpio.h>
|
|
#include <asm/ibmpc.h>
|
|
#include <asm/pnp_def.h>
|
|
|
|
int board_early_init_f(void)
|
|
{
|
|
#ifdef CONFIG_INTERNAL_UART
|
|
/* Disable the legacy UART which is enabled per default */
|
|
nct6102d_uarta_disable();
|
|
#else
|
|
/*
|
|
* The FSP enables the BayTrail internal legacy UART (again).
|
|
* Disable it again, so that the Nuvoton one can be used.
|
|
*/
|
|
setup_internal_uart(0);
|
|
#endif
|
|
|
|
/* Disable the watchdog which is enabled per default */
|
|
nct6102d_wdt_disable();
|
|
|
|
return 0;
|
|
}
|
|
|