summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/init/init-ld4.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-01-15 05:59:06 (GMT)
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-01-17 00:00:40 (GMT)
commitef07a99b083378644bcb35e79eebd02b6cb8cd91 (patch)
tree5c56987b97b4493b2e2406f340e1e457245258c5 /arch/arm/mach-uniphier/init/init-ld4.c
parent9e3bb84bd880d8be82351d689415d6e142dfab32 (diff)
downloadu-boot-ef07a99b083378644bcb35e79eebd02b6cb8cd91.tar.xz
ARM: uniphier: refactor Support Card init code
Splitting reset assertion (support_card_reset) and deassertion (support_card_init) is not adding much value any more. Handle all the initialization of Support Card in support_card_init(), then remove support_card_reset(). Also, detect_num_flash_banks() can have a static qualifier. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/init/init-ld4.c')
-rw-r--r--arch/arm/mach-uniphier/init/init-ld4.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-uniphier/init/init-ld4.c b/arch/arm/mach-uniphier/init/init-ld4.c
index a56fb7f..a5b9493 100644
--- a/arch/arm/mach-uniphier/init/init-ld4.c
+++ b/arch/arm/mach-uniphier/init/init-ld4.c
@@ -18,12 +18,10 @@ int uniphier_ld4_init(const struct uniphier_board_data *bd)
uniphier_ld4_sbc_init();
- support_card_reset();
+ support_card_init();
uniphier_ld4_dpll_init(bd);
- support_card_init();
-
led_puts("L0");
uniphier_memconf_2ch_init(bd);