diff options
author | Tom Rini <trini@konsulko.com> | 2019-05-21 07:13:35 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-05-21 07:13:35 -0400 |
commit | e1a2ed7180adeefb6164239a18249dca5701319d (patch) | |
tree | 4a9d085f3154fb848c9ccfc391d87f39fd43c29f /arch/powerpc/include/asm/arch-mpc83xx/clock.h | |
parent | ffbad25b3221fd1b0cd0aff1128d57fcb279e020 (diff) | |
parent | d494cdb97e18a30214d0414376d4eacdf82224fe (diff) |
Merge git://git.denx.de/u-boot-mpc83xx
- Update MPC83xx platform support to current best practices, etc.
Diffstat (limited to 'arch/powerpc/include/asm/arch-mpc83xx/clock.h')
-rw-r--r-- | arch/powerpc/include/asm/arch-mpc83xx/clock.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/arch-mpc83xx/clock.h b/arch/powerpc/include/asm/arch-mpc83xx/clock.h new file mode 100644 index 0000000000..d57e93c2df --- /dev/null +++ b/arch/powerpc/include/asm/arch-mpc83xx/clock.h @@ -0,0 +1,22 @@ +/* + * (C) Copyright 2018 + * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __ASM_POWERPC_CLOCK_H +#define __ASM_POWERPC_CLOCK_H + +/* Make fsl_esdhc driver happy */ +enum mxc_clock { + MXC_ESDHC_CLK, +}; + +DECLARE_GLOBAL_DATA_PTR; + +uint mxc_get_clock(int clk) +{ + return gd->arch.sdhc_clk; +} +#endif /* __ASM_POWERPC_CLOCK_H */ |