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