]> git.sur5r.net Git - u-boot/commit
ARM: uniphier: refactor board_init()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 15 Jan 2017 05:59:08 +0000 (14:59 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 17 Jan 2017 16:22:30 +0000 (01:22 +0900)
commitb61664e230b30084f2fae5063123fd40bd17d0f7
tree5b81b81b27440157b71d2d4a485910cb4ea4997b
parente94842fa2cdab3883de8630794fd948daff53766
ARM: uniphier: refactor board_init()

The code here is cluttered due to the switch statement.  Introduce a
table of callbacks to clean up the initialization code across SoCs.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/board_init.c
arch/arm/mach-uniphier/clk/Makefile
arch/arm/mach-uniphier/clk/clk-ld20.c [deleted file]
arch/arm/mach-uniphier/init.h