summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/kona-common/clk-stubs.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/cpu/armv7/kona-common/clk-stubs.c')
-rw-r--r--arch/arm/cpu/armv7/kona-common/clk-stubs.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/kona-common/clk-stubs.c b/arch/arm/cpu/armv7/kona-common/clk-stubs.c
new file mode 100644
index 0000000000..338e0e4962
--- /dev/null
+++ b/arch/arm/cpu/armv7/kona-common/clk-stubs.c
@@ -0,0 +1,21 @@
+/*
+ * Copyright 2013 Broadcom Corporation.
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#include <common.h>
+
+/*
+ * These weak functions are available to kona architectures that don't
+ * require clock enables from the driver code.
+ */
+int __weak clk_sdio_enable(void *base, u32 rate, u32 *actual_ratep)
+{
+ return 0;
+}
+
+int __weak clk_bsc_enable(void *base, u32 rate, u32 *actual_ratep)
+{
+ return 0;
+}