summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-uniphier/init
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-04-28 15:37:16 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-05-01 01:13:45 +0900
commitbef4b024e9839ea7afe689b050fc95118eeb0b01 (patch)
treedc1c5f047d8b2dc01443ef4caceb920f334fe54a /arch/arm/mach-uniphier/init
parent5eb4150e84e55057a3504b2cb06d7f5c145c866f (diff)
downloadtalos-obmc-uboot-bef4b024e9839ea7afe689b050fc95118eeb0b01.tar.gz
talos-obmc-uboot-bef4b024e9839ea7afe689b050fc95118eeb0b01.zip
ARM: uniphier: move pin-mux code into pin_init function
The code in uniphier_sld3_sbc_init() is pin-muxing, so it would be a better fit in uniphier_sld3_early_pin_init(). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/init')
-rw-r--r--arch/arm/mach-uniphier/init/init-sld3.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-uniphier/init/init-sld3.c b/arch/arm/mach-uniphier/init/init-sld3.c
index 473e0c8831..50fcbb09b8 100644
--- a/arch/arm/mach-uniphier/init/init-sld3.c
+++ b/arch/arm/mach-uniphier/init/init-sld3.c
@@ -15,7 +15,8 @@ int uniphier_sld3_init(const struct uniphier_board_data *bd)
uniphier_sld3_bcu_init(bd);
uniphier_sbc_init_admulti(bd);
- uniphier_sld3_sbc_init(bd);
+
+ uniphier_sld3_early_pin_init(bd);
support_card_reset();
@@ -34,8 +35,6 @@ int uniphier_sld3_init(const struct uniphier_board_data *bd)
led_puts("L2");
- uniphier_sld3_early_pin_init(bd);
-
led_puts("L3");
#ifdef CONFIG_SPL_SERIAL_SUPPORT
OpenPOWER on IntegriCloud