2 * Copyright (C) 2012-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
4 * SPDX-License-Identifier: GPL-2.0+
8 #include "micro-support-card.h"
11 int board_early_init_f(void)
15 switch (uniphier_get_soc_type()) {
16 #if defined(CONFIG_ARCH_UNIPHIER_SLD3)
17 case SOC_UNIPHIER_SLD3:
18 uniphier_sld3_pin_init();
20 uniphier_ld4_clk_init();
23 #if defined(CONFIG_ARCH_UNIPHIER_LD4)
24 case SOC_UNIPHIER_LD4:
25 uniphier_ld4_pin_init();
27 uniphier_ld4_clk_init();
30 #if defined(CONFIG_ARCH_UNIPHIER_PRO4)
31 case SOC_UNIPHIER_PRO4:
32 uniphier_pro4_pin_init();
34 uniphier_pro4_clk_init();
37 #if defined(CONFIG_ARCH_UNIPHIER_SLD8)
38 case SOC_UNIPHIER_SLD8:
39 uniphier_sld8_pin_init();
41 uniphier_ld4_clk_init();
44 #if defined(CONFIG_ARCH_UNIPHIER_PRO5)
45 case SOC_UNIPHIER_PRO5:
46 uniphier_pro5_pin_init();
48 uniphier_pro5_clk_init();
51 #if defined(CONFIG_ARCH_UNIPHIER_PXS2)
52 case SOC_UNIPHIER_PXS2:
53 uniphier_pxs2_pin_init();
55 uniphier_pxs2_clk_init();
58 #if defined(CONFIG_ARCH_UNIPHIER_LD6B)
59 case SOC_UNIPHIER_LD6B:
60 uniphier_ld6b_pin_init();
62 uniphier_pxs2_clk_init();
65 #if defined(CONFIG_ARCH_UNIPHIER_LD11)
66 case SOC_UNIPHIER_LD11:
67 uniphier_ld20_pin_init();
69 uniphier_ld11_clk_init();
72 #if defined(CONFIG_ARCH_UNIPHIER_LD20)
73 case SOC_UNIPHIER_LD20:
74 uniphier_ld20_pin_init();
76 uniphier_ld20_clk_init();