xref: /openbmc/u-boot/arch/arm/mach-tegra/board186.c (revision 3335786a)
1 /*
2  * Copyright (c) 2016, NVIDIA CORPORATION.
3  *
4  * SPDX-License-Identifier: GPL-2.0+
5  */
6 
7 #include <common.h>
8 #include <asm/arch/tegra.h>
9 #include <asm/arch-tegra/mmc.h>
10 #include <asm/arch-tegra/tegra_mmc.h>
11 
12 DECLARE_GLOBAL_DATA_PTR;
13 
14 int board_early_init_f(void)
15 {
16 	return 0;
17 }
18 
19 __weak int tegra_board_init(void)
20 {
21 	return 0;
22 }
23 
24 int board_init(void)
25 {
26 	return tegra_board_init();
27 }
28 
29 int board_late_init(void)
30 {
31 	return 0;
32 }
33 
34 void pad_init_mmc(struct mmc_host *host)
35 {
36 }
37 
38 int board_mmc_init(bd_t *bd)
39 {
40 	tegra_mmc_init();
41 
42 	return 0;
43 }
44