]>
git.ipfire.org Git - people/ms/u-boot.git/blob - arch/arm/mach-uniphier/init/init.c
2 * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
4 * SPDX-License-Identifier: GPL-2.0+
10 #include <mach/soc_info.h>
12 DECLARE_GLOBAL_DATA_PTR
;
14 void spl_board_init(void)
16 const struct uniphier_board_data
*param
;
18 param
= uniphier_get_board_param(gd
->fdt_blob
);
22 switch (uniphier_get_soc_type()) {
23 #if defined(CONFIG_ARCH_UNIPHIER_PH1_SLD3)
24 case SOC_UNIPHIER_PH1_SLD3
:
28 #if defined(CONFIG_ARCH_UNIPHIER_PH1_LD4)
29 case SOC_UNIPHIER_PH1_LD4
:
33 #if defined(CONFIG_ARCH_UNIPHIER_PH1_PRO4)
34 case SOC_UNIPHIER_PH1_PRO4
:
38 #if defined(CONFIG_ARCH_UNIPHIER_PH1_SLD8)
39 case SOC_UNIPHIER_PH1_SLD8
: