summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/init/init-pro4.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/init/init-pro4.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/init/init-pro4.c')
-rw-r--r--arch/arm/mach-uniphier/init/init-pro4.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/arm/mach-uniphier/init/init-pro4.c b/arch/arm/mach-uniphier/init/init-pro4.c
index 3528d84..2825150 100644
--- a/arch/arm/mach-uniphier/init/init-pro4.c
+++ b/arch/arm/mach-uniphier/init/init-pro4.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+
*/
@@ -16,7 +18,7 @@ int uniphier_pro4_init(const struct uniphier_board_data *bd)
support_card_reset();
- uniphier_pro4_pll_init(bd);
+ uniphier_pro4_dpll_init(bd);
support_card_init();
@@ -50,9 +52,5 @@ int uniphier_pro4_init(const struct uniphier_board_data *bd)
led_puts("L5");
- uniphier_ld4_enable_dpll_ssc(bd);
-
- led_puts("L6");
-
return 0;
}