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>
diff --git a/arch/arm/mach-uniphier/spl.c b/arch/arm/mach-uniphier/spl.c
index c3d90d0..a0d0f04 100644
--- a/arch/arm/mach-uniphier/spl.c
+++ b/arch/arm/mach-uniphier/spl.c
@@ -20,6 +20,7 @@
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 @@
led_write(L, 2, , );
+ early_pin_init();
+
+ led_write(L, 3, , );
+
{
int res;
@@ -56,9 +61,9 @@
;
}
}
- led_write(L, 3, , );
+ led_write(L, 4, , );
enable_dpll_ssc();
- led_write(L, 4, , );
+ led_write(L, 5, , );
}