mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-18 18:53:22 +09:00
f6e7f07c17
In the Linux coding style, it is recommended to include <linux/io.h> rather than <asm/io.h>. Follow this trend. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
19 lines
316 B
C
19 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);
|
|
}
|