mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-19 03:08:31 +00:00
26 lines
482 B
C
26 lines
482 B
C
|
/*
|
||
|
* (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;
|
||
|
}
|