diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2015-02-26 17:26:42 (GMT) |
---|---|---|
committer | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2015-02-28 15:01:56 (GMT) |
commit | 4c425570214cac091d9bdcf840b936062fb8da12 (patch) | |
tree | a8a83c219c46dec073438df0c77031418c662b25 /arch/arm/mach-uniphier/ph1-pro4/pll_spectrum.c | |
parent | 1606b34aa50804227806971dbb6b82ea0bf81f55 (diff) | |
download | u-boot-4c425570214cac091d9bdcf840b936062fb8da12.tar.xz |
ARM: UniPhier: move SoC sources to mach-uniphier
Move
arch/arm/cpu/armv7/uniphier/* -> arch/arm/mach-uniphier/*
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/arm/mach-uniphier/ph1-pro4/pll_spectrum.c')
-rw-r--r-- | arch/arm/mach-uniphier/ph1-pro4/pll_spectrum.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/ph1-pro4/pll_spectrum.c b/arch/arm/mach-uniphier/ph1-pro4/pll_spectrum.c new file mode 100644 index 0000000..4538d1a --- /dev/null +++ b/arch/arm/mach-uniphier/ph1-pro4/pll_spectrum.c @@ -0,0 +1,18 @@ +/* + * Copyright (C) 2011-2014 Panasonic Corporation + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#include <common.h> +#include <asm/io.h> +#include <asm/arch/sc-regs.h> + +void enable_dpll_ssc(void) +{ + u32 tmp; + + tmp = readl(SC_DPLLCTRL); + tmp |= SC_DPLLCTRL_SSC_EN; + writel(tmp, SC_DPLLCTRL); +} |