[U-Boot] [PATCH v2 2/6] Exynos542x: Move exynos5420_get_pll_clk up and rename
Joonyoung Shim
jy0922.shim at samsung.com
Fri Jan 16 03:47:51 CET 2015
Hi,
On 01/15/2015 10:31 PM, Akshay Saraswat wrote:
> Moving exynos5420_get_pll_clk function definition up in the
> code to keep it together with rest of SoC_get_pll_clk functions.
> This makes code more legible and also removes the need of
> declaration when called before the position of definition in
> code. Also, renaming exynos5420_get_pll_clk to
> exynos542x_get_pll_clk because it is being used for both Exynos
> 5420 and 5800.
>
> Signed-off-by: Akshay Saraswat <akshay.s at samsung.com>
> ---
> Changes since v1:
> - New patch.
>
> arch/arm/cpu/armv7/exynos/clock.c | 82 +++++++++++++++++++--------------------
> 1 file changed, 41 insertions(+), 41 deletions(-)
>
> diff --git a/arch/arm/cpu/armv7/exynos/clock.c b/arch/arm/cpu/armv7/exynos/clock.c
> index 519928c..6a1b05f 100644
> --- a/arch/arm/cpu/armv7/exynos/clock.c
> +++ b/arch/arm/cpu/armv7/exynos/clock.c
> @@ -267,6 +267,46 @@ static unsigned long exynos5_get_pll_clk(int pllreg)
> return fout;
> }
>
> +/* exynos5420: return pll clock frequency */
exynos5420 -> exynos542x
Thanks.
More information about the U-Boot
mailing list