]> git.sur5r.net Git - u-boot/blob - arch/arm/mach-tegra/board186.c
mmc: tegra: move pad_init_mmc() into MMC driver
[u-boot] / arch / arm / mach-tegra / board186.c
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
11 DECLARE_GLOBAL_DATA_PTR;
12
13 int board_early_init_f(void)
14 {
15         return 0;
16 }
17
18 __weak int tegra_board_init(void)
19 {
20         return 0;
21 }
22
23 int board_init(void)
24 {
25         return tegra_board_init();
26 }
27
28 int board_late_init(void)
29 {
30         return 0;
31 }
32
33 int board_mmc_init(bd_t *bd)
34 {
35         tegra_mmc_init();
36
37         return 0;
38 }