mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-01-22 09:55:10 +00:00
3365b4eb55
The init code for UMC (Unified Memory Controller) and PLL has not been mainlined yet, but U-boot proper should work. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
18 lines
316 B
C
18 lines
316 B
C
/*
|
|
* Copyright (C) 2011-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#include <common.h>
|
|
#include <linux/io.h>
|
|
#include <mach/sc-regs.h>
|
|
|
|
void enable_dpll_ssc(void)
|
|
{
|
|
u32 tmp;
|
|
|
|
tmp = readl(SC_DPLLCTRL);
|
|
tmp |= SC_DPLLCTRL_SSC_EN;
|
|
writel(tmp, SC_DPLLCTRL);
|
|
}
|