summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/init/init-sld8.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-09-17 03:33:09 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-09-19 00:06:44 +0900
commit6a3e4274e479a70069518679e45fe85ef3f30a36 (patch)
tree5f64d60420e70e74c8d364ef21ba7a634e47d02f /arch/arm/mach-uniphier/init/init-sld8.c
parent22de6b3374010bd5d9e3063f3b1fa4d70d10faee (diff)
downloadu-boot-imx-6a3e4274e479a70069518679e45fe85ef3f30a36.zip
u-boot-imx-6a3e4274e479a70069518679e45fe85ef3f30a36.tar.gz
u-boot-imx-6a3e4274e479a70069518679e45fe85ef3f30a36.tar.bz2
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/init/init-sld8.c')
-rw-r--r--arch/arm/mach-uniphier/init/init-sld8.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/arm/mach-uniphier/init/init-sld8.c b/arch/arm/mach-uniphier/init/init-sld8.c
index 07c6d60..82d036b 100644
--- a/arch/arm/mach-uniphier/init/init-sld8.c
+++ b/arch/arm/mach-uniphier/init/init-sld8.c
@@ -1,5 +1,7 @@
/*
- * Copyright (C) 2013-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
+ * Copyright (C) 2013-2015 Panasonic Corporation
+ * Copyright (C) 2015-2016 Socionext Inc.
+ * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
@@ -19,7 +21,7 @@ int uniphier_sld8_init(const struct uniphier_board_data *bd)
support_card_reset();
- uniphier_sld8_pll_init(bd);
+ uniphier_sld8_dpll_init(bd);
support_card_init();
@@ -53,9 +55,5 @@ int uniphier_sld8_init(const struct uniphier_board_data *bd)
led_puts("L5");
- uniphier_ld4_enable_dpll_ssc(bd);
-
- led_puts("L6");
-
return 0;
}