]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: uniphier: refactor SBC init code
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 18 Mar 2016 07:41:44 +0000 (16:41 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 23 Mar 2016 16:45:18 +0000 (01:45 +0900)
commit5d0607c58c02204c7ec02f0f4d6bd268929961ee
tree24aecfd06a5712f8438a3b5f68ad354372156689
parentea65c98050f0f13f933119e1d073c8a138481ee4
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>
14 files changed:
arch/arm/mach-uniphier/init.h
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/sbc/Makefile
arch/arm/mach-uniphier/sbc/sbc-admulti.c [moved from arch/arm/mach-uniphier/sbc/sbc-pro4.c with 64% similarity]
arch/arm/mach-uniphier/sbc/sbc-ld4.c
arch/arm/mach-uniphier/sbc/sbc-pxs2.c
arch/arm/mach-uniphier/sbc/sbc-regs.h
arch/arm/mach-uniphier/sbc/sbc-savepin.c [new file with mode: 0644]
arch/arm/mach-uniphier/sbc/sbc-sld3.c