mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-17 07:28:51 +09:00
![Masahiro Yamada](/assets/img/avatar_default.png)
The PLL for the DRAM interface must be initialized in SPL, but the others can be delayed until U-Boot proper. Move them from SPL to U-Boot proper to save the precious SPL memory footprint. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
22 lines
398 B
C
22 lines
398 B
C
/*
|
|
* Copyright (C) 2011-2014 Panasonic Corporation
|
|
* Copyright (C) 2015-2016 Socionext Inc.
|
|
* Author: Masahiro Yamada <yamada.masahiro@socionext.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#include <linux/io.h>
|
|
|
|
#include "../sc-regs.h"
|
|
#include "pll.h"
|
|
|
|
void uniphier_ld4_dpll_ssc_en(void)
|
|
{
|
|
u32 tmp;
|
|
|
|
tmp = readl(SC_DPLLCTRL);
|
|
tmp |= SC_DPLLCTRL_SSC_EN;
|
|
writel(tmp, SC_DPLLCTRL);
|
|
}
|