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_PH1_SLD3)
17 case SOC_UNIPHIER_PH1_SLD3:
23 #if defined(CONFIG_ARCH_UNIPHIER_PH1_LD4)
24 case SOC_UNIPHIER_PH1_LD4:
30 #if defined(CONFIG_ARCH_UNIPHIER_PH1_PRO4)
31 case SOC_UNIPHIER_PH1_PRO4:
37 #if defined(CONFIG_ARCH_UNIPHIER_PH1_SLD8)
38 case SOC_UNIPHIER_PH1_SLD8:
44 #if defined(CONFIG_ARCH_UNIPHIER_PH1_PRO5)
45 case SOC_UNIPHIER_PH1_PRO5:
51 #if defined(CONFIG_ARCH_UNIPHIER_PROXSTREAM2)
52 case SOC_UNIPHIER_PROXSTREAM2:
53 proxstream2_pin_init();
55 proxstream2_clk_init();
58 #if defined(CONFIG_ARCH_UNIPHIER_PH1_LD6B)
59 case SOC_UNIPHIER_PH1_LD6B:
62 proxstream2_clk_init();