mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-05 19:10:13 +00:00
682e09ff9f
Initialize the DPLL (PLL for DRAM) in SPL, and others in U-Boot proper. Split the common code into pll-base-ld20.c for easier re-use. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
21 lines
578 B
C
21 lines
578 B
C
/*
|
|
* Copyright (C) 2016 Socionext Inc.
|
|
* Author: Masahiro Yamada <yamada.masahiro@socionext.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef MACH_PLL_H
|
|
#define MACH_PLL_H
|
|
|
|
#define UNIPHIER_PLL_FREQ_DEFAULT (0)
|
|
|
|
void uniphier_ld4_dpll_ssc_en(void);
|
|
|
|
int uniphier_ld20_sscpll_init(unsigned long reg_base, unsigned int freq,
|
|
unsigned int ssc_rate, unsigned int divn);
|
|
int uniphier_ld20_sscpll_ssc_en(unsigned long reg_base);
|
|
int uniphier_ld20_vpll27_init(unsigned long reg_base);
|
|
int uniphier_ld20_dspll_init(unsigned long reg_base);
|
|
|
|
#endif /* MACH_PLL_H */
|