blob: 47fb70ff7cf845b56b93029ce2a9fc235987cfac [file] [log] [blame]
Ian Campbell49aeca32014-05-05 11:52:23 +01001/*
2 * (C) Copyright 2007-2012
3 * Allwinner Technology Co., Ltd. <www.allwinnertech.com>
4 * Tom Cubie <tangliang@allwinnertech.com>
5 *
6 * (C) Copyright 2013 Luke Kenneth Casson Leighton <lkcl@lkcl.net>
7 *
8 * SPDX-License-Identifier: GPL-2.0+
9 */
10
11#include <common.h>
12#include <asm/io.h>
13#include <asm/arch/clock.h>
14#include <asm/arch/gpio.h>
15#include <asm/arch/sys_proto.h>
16
17int clock_init(void)
18{
19#ifdef CONFIG_SPL_BUILD
20 clock_init_safe();
21#endif
22 clock_init_uart();
23
24 return 0;
25}