summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/clk/pll-sld3.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-09-16 18:33:09 (GMT)
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-09-18 15:06:44 (GMT)
commit6a3e4274e479a70069518679e45fe85ef3f30a36 (patch)
tree5f64d60420e70e74c8d364ef21ba7a634e47d02f /arch/arm/mach-uniphier/clk/pll-sld3.c
parent22de6b3374010bd5d9e3063f3b1fa4d70d10faee (diff)
downloadu-boot-fsl-qoriq-6a3e4274e479a70069518679e45fe85ef3f30a36.tar.xz
ARM: uniphier: move PLL init code to U-Boot proper where possible
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>
Diffstat (limited to 'arch/arm/mach-uniphier/clk/pll-sld3.c')
-rw-r--r--arch/arm/mach-uniphier/clk/pll-sld3.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/clk/pll-sld3.c b/arch/arm/mach-uniphier/clk/pll-sld3.c
new file mode 100644
index 0000000..37a7c12
--- /dev/null
+++ b/arch/arm/mach-uniphier/clk/pll-sld3.c
@@ -0,0 +1,14 @@
+/*
+ * Copyright (C) 2016 Socionext Inc.
+ * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#include "../init.h"
+#include "pll.h"
+
+void uniphier_sld3_pll_init(void)
+{
+ uniphier_ld4_dpll_ssc_en();
+}