summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-uniphier/init/init-pro4.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-03-30 20:17:02 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-04-01 00:59:47 +0900
commit5b660066464e3270e5b9c236bf15829df868176c (patch)
tree08a9af0114bba334d99743aa8711ef1e98ab7e8b /arch/arm/mach-uniphier/init/init-pro4.c
parenta75ecfc2a637d581bc6ab21676f73e8eee1b13d2 (diff)
downloadtalos-obmc-uboot-5b660066464e3270e5b9c236bf15829df868176c.tar.gz
talos-obmc-uboot-5b660066464e3270e5b9c236bf15829df868176c.zip
ARM: uniphier: rename function names ph1_* to uniphier_*
Eliminate the "ph1"_ prefixes from function names because "uniphier_" describes the SoC familiy better. 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.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-uniphier/init/init-pro4.c b/arch/arm/mach-uniphier/init/init-pro4.c
index 456fb48bd7..3528d84e8d 100644
--- a/arch/arm/mach-uniphier/init/init-pro4.c
+++ b/arch/arm/mach-uniphier/init/init-pro4.c
@@ -10,13 +10,13 @@
#include "../init.h"
#include "../micro-support-card.h"
-int ph1_pro4_init(const struct uniphier_board_data *bd)
+int uniphier_pro4_init(const struct uniphier_board_data *bd)
{
- sbc_savepin_init(bd);
+ uniphier_sbc_init_savepin(bd);
support_card_reset();
- ph1_pro4_pll_init(bd);
+ uniphier_pro4_pll_init(bd);
support_card_init();
@@ -26,7 +26,7 @@ int ph1_pro4_init(const struct uniphier_board_data *bd)
led_puts("L1");
- ph1_ld4_early_clk_init(bd);
+ uniphier_ld4_early_clk_init(bd);
led_puts("L2");
@@ -41,7 +41,7 @@ int ph1_pro4_init(const struct uniphier_board_data *bd)
{
int res;
- res = ph1_pro4_umc_init(bd);
+ res = uniphier_pro4_umc_init(bd);
if (res < 0) {
while (1)
;
@@ -50,7 +50,7 @@ int ph1_pro4_init(const struct uniphier_board_data *bd)
led_puts("L5");
- ph1_ld4_enable_dpll_ssc(bd);
+ uniphier_ld4_enable_dpll_ssc(bd);
led_puts("L6");
OpenPOWER on IntegriCloud