blob: d57e93c2df96064d684979948ceb8c54f5fd92f6 [file] [log] [blame]
Mario Six2537f412019-01-21 09:18:18 +01001/*
2 * (C) Copyright 2018
3 * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
4 *
5 * SPDX-License-Identifier: GPL-2.0+
6 */
7
8#ifndef __ASM_POWERPC_CLOCK_H
9#define __ASM_POWERPC_CLOCK_H
10
11/* Make fsl_esdhc driver happy */
12enum mxc_clock {
13 MXC_ESDHC_CLK,
14};
15
16DECLARE_GLOBAL_DATA_PTR;
17
18uint mxc_get_clock(int clk)
19{
20 return gd->arch.sdhc_clk;
21}
22#endif /* __ASM_POWERPC_CLOCK_H */