xref: /openbmc/u-boot/arch/arm/mach-imx/imx8/clock.c (revision e11ef3d2)
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Copyright 2018 NXP
4  */
5 
6 #include <common.h>
7 #include <linux/errno.h>
8 #include <asm/arch/clock.h>
9 
10 DECLARE_GLOBAL_DATA_PTR;
11 
12 u32 mxc_get_clock(enum mxc_clock clk)
13 {
14 	switch (clk) {
15 	default:
16 		printf("Unsupported mxc_clock %d\n", clk);
17 		break;
18 	}
19 
20 	return 0;
21 }
22