Merge branch 'master' of git://git.denx.de/u-boot-sunxi
[oweals/u-boot.git] / arch / arm / cpu / armv7 / kona-common / clk-stubs.c
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Copyright 2013 Broadcom Corporation.
4  */
5
6 #include <common.h>
7
8 /*
9  * These weak functions are available to kona architectures that don't
10  * require clock enables from the driver code.
11  */
12 int __weak clk_sdio_enable(void *base, u32 rate, u32 *actual_ratep)
13 {
14         return 0;
15 }
16
17 int __weak clk_bsc_enable(void *base, u32 rate, u32 *actual_ratep)
18 {
19         return 0;
20 }
21
22 int __weak clk_usb_otg_enable(void *base)
23 {
24         return 0;
25 }