]>
git.ipfire.org Git - people/ms/u-boot.git/blob - arch/arm/mach-uniphier/init/init.c
d5d1018dd7da7dc78a649af778063d1036710ecb
2 * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
4 * SPDX-License-Identifier: GPL-2.0+
11 #include "../soc-info.h"
13 void spl_board_init(void)
15 const struct uniphier_board_data
*param
;
17 param
= uniphier_get_board_param();
21 switch (uniphier_get_soc_type()) {
22 #if defined(CONFIG_ARCH_UNIPHIER_SLD3)
23 case SOC_UNIPHIER_SLD3
:
27 #if defined(CONFIG_ARCH_UNIPHIER_LD4)
28 case SOC_UNIPHIER_LD4
:
32 #if defined(CONFIG_ARCH_UNIPHIER_PRO4)
33 case SOC_UNIPHIER_PRO4
:
37 #if defined(CONFIG_ARCH_UNIPHIER_SLD8)
38 case SOC_UNIPHIER_SLD8
:
42 #if defined(CONFIG_ARCH_UNIPHIER_PRO5)
43 case SOC_UNIPHIER_PRO5
:
47 #if defined(CONFIG_ARCH_UNIPHIER_PXS2) || defined(CONFIG_ARCH_UNIPHIER_LD6B)
48 case SOC_UNIPHIER_PXS2
:
49 case SOC_UNIPHIER_LD6B
:
50 proxstream2_init(param
);