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