summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/init/init-pro5.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-03-18 16:41:44 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-03-24 01:45:18 +0900
commit5d0607c58c02204c7ec02f0f4d6bd268929961ee (patch)
tree24aecfd06a5712f8438a3b5f68ad354372156689 /arch/arm/mach-uniphier/init/init-pro5.c
parentea65c98050f0f13f933119e1d073c8a138481ee4 (diff)
downloadu-boot-imx-5d0607c58c02204c7ec02f0f4d6bd268929961ee.zip
u-boot-imx-5d0607c58c02204c7ec02f0f4d6bd268929961ee.tar.gz
u-boot-imx-5d0607c58c02204c7ec02f0f4d6bd268929961ee.tar.bz2
ARM: uniphier: refactor SBC init code
There is a bunch of duplication in the System Bus Controller init code. Roughly, there are two types in the SBC mode: Adress/Data Multiplex Mode and Save Pins Mode. Consolidate per-SoC functions into the two, plus per-SoC optional init code. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/init/init-pro5.c')
-rw-r--r--arch/arm/mach-uniphier/init/init-pro5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-uniphier/init/init-pro5.c b/arch/arm/mach-uniphier/init/init-pro5.c
index 45c65cf..c2c6803 100644
--- a/arch/arm/mach-uniphier/init/init-pro5.c
+++ b/arch/arm/mach-uniphier/init/init-pro5.c
@@ -12,7 +12,7 @@
int ph1_pro5_init(const struct uniphier_board_data *bd)
{
- ph1_pro4_sbc_init(bd);
+ sbc_savepin_init(bd);
support_card_reset();