Mario Six | 2537f41 | 2019-01-21 09:18:18 +0100 | [diff] [blame] | 1 | /* |
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 */ | ||||
12 | enum mxc_clock { | ||||
13 | MXC_ESDHC_CLK, | ||||
14 | }; | ||||
15 | |||||
16 | DECLARE_GLOBAL_DATA_PTR; | ||||
17 | |||||
18 | uint mxc_get_clock(int clk) | ||||
19 | { | ||||
20 | return gd->arch.sdhc_clk; | ||||
21 | } | ||||
22 | #endif /* __ASM_POWERPC_CLOCK_H */ |