ARM: uniphier: refactor Support Card init code
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 15 Jan 2017 05:59:06 +0000 (14:59 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 17 Jan 2017 00:00:40 +0000 (09:00 +0900)
commitef07a99b083378644bcb35e79eebd02b6cb8cd91
tree5c56987b97b4493b2e2406f340e1e457245258c5
parent9e3bb84bd880d8be82351d689415d6e142dfab32
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>
arch/arm/mach-uniphier/init/init-ld11.c
arch/arm/mach-uniphier/init/init-ld20.c
arch/arm/mach-uniphier/init/init-ld4.c
arch/arm/mach-uniphier/init/init-pro4.c
arch/arm/mach-uniphier/init/init-pro5.c
arch/arm/mach-uniphier/init/init-pxs2.c
arch/arm/mach-uniphier/init/init-sld3.c
arch/arm/mach-uniphier/init/init-sld8.c
arch/arm/mach-uniphier/micro-support-card.c
arch/arm/mach-uniphier/micro-support-card.h