diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-01-15 05:59:08 (GMT) |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-01-17 16:22:30 (GMT) |
commit | b61664e230b30084f2fae5063123fd40bd17d0f7 (patch) | |
tree | 5b81b81b27440157b71d2d4a485910cb4ea4997b /arch/arm/mach-uniphier/clk/Makefile | |
parent | e94842fa2cdab3883de8630794fd948daff53766 (diff) | |
download | u-boot-b61664e230b30084f2fae5063123fd40bd17d0f7.tar.xz |
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>
Diffstat (limited to 'arch/arm/mach-uniphier/clk/Makefile')
-rw-r--r-- | arch/arm/mach-uniphier/clk/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-uniphier/clk/Makefile b/arch/arm/mach-uniphier/clk/Makefile index 765660f..bf77fca 100644 --- a/arch/arm/mach-uniphier/clk/Makefile +++ b/arch/arm/mach-uniphier/clk/Makefile @@ -24,7 +24,7 @@ obj-$(CONFIG_ARCH_UNIPHIER_PRO5) += clk-pro5.o obj-$(CONFIG_ARCH_UNIPHIER_PXS2) += clk-pxs2.o obj-$(CONFIG_ARCH_UNIPHIER_LD6B) += clk-pxs2.o obj-$(CONFIG_ARCH_UNIPHIER_LD11) += clk-ld11.o pll-ld11.o -obj-$(CONFIG_ARCH_UNIPHIER_LD20) += clk-ld20.o pll-ld20.o +obj-$(CONFIG_ARCH_UNIPHIER_LD20) += pll-ld20.o endif |