]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/armv7/sunxi/clock.c
karo: fdt: fix panel-dpi support
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / sunxi / clock.c
1 /*
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
17 int clock_init(void)
18 {
19 #ifdef CONFIG_SPL_BUILD
20         clock_init_safe();
21 #endif
22         clock_init_uart();
23
24         return 0;
25 }