summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/spl.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-03-23 00:07:23 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2015-03-24 00:15:28 +0900
commit7d1a3a67bcabb19ac69dafc7b5f4ad4e397442b8 (patch)
tree445fe50c90836d7141496c91e998bd8d7d11bdbd /arch/arm/mach-uniphier/spl.c
parent94ab98bb1c963bb9694955a9512044ef2630a4fe (diff)
ARM: UniPhier: move UART pin settings to SPL
The UniPhier platform is going to enable Driver Model and UART support on SPL. Move UART pin settings to early_pin_init(), which is called from SPL. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/spl.c')
-rw-r--r--arch/arm/mach-uniphier/spl.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/mach-uniphier/spl.c b/arch/arm/mach-uniphier/spl.c
index c3d90d03d0..a0d0f040a8 100644
--- a/arch/arm/mach-uniphier/spl.c
+++ b/arch/arm/mach-uniphier/spl.c
@@ -20,6 +20,7 @@ void pll_init(void);
void pin_init(void);
void memconf_init(void);
void early_clkrst_init(void);
+void early_pin_init(void);
int umc_init(void);
void enable_dpll_ssc(void);
@@ -47,6 +48,10 @@ void spl_board_init(void)
led_write(L, 2, , );
+ early_pin_init();
+
+ led_write(L, 3, , );
+
{
int res;
@@ -56,9 +61,9 @@ void spl_board_init(void)
;
}
}
- led_write(L, 3, , );
+ led_write(L, 4, , );
enable_dpll_ssc();
- led_write(L, 4, , );
+ led_write(L, 5, , );
}