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.
26 lines
482 B
26 lines
482 B
11 years ago
|
/*
|
||
|
* (C) Copyright 2007-2012
|
||
|
* Allwinner Technology Co., Ltd. <www.allwinnertech.com>
|
||
|
* Tom Cubie <tangliang@allwinnertech.com>
|
||
|
*
|
||
|
* (C) Copyright 2013 Luke Kenneth Casson Leighton <lkcl@lkcl.net>
|
||
|
*
|
||
|
* SPDX-License-Identifier: GPL-2.0+
|
||
|
*/
|
||
|
|
||
|
#include <common.h>
|
||
|
#include <asm/io.h>
|
||
|
#include <asm/arch/clock.h>
|
||
|
#include <asm/arch/gpio.h>
|
||
|
#include <asm/arch/sys_proto.h>
|
||
|
|
||
|
int clock_init(void)
|
||
|
{
|
||
|
#ifdef CONFIG_SPL_BUILD
|
||
|
clock_init_safe();
|
||
|
#endif
|
||
|
clock_init_uart();
|
||
|
|
||
|
return 0;
|
||
|
}
|