blob: 1b9799fd80c22fae6b16890a079da49f22ca1cce [file] [log] [blame]
Stephen Warrenc7ba99c2016-05-12 13:32:55 -06001/*
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
12DECLARE_GLOBAL_DATA_PTR;
13
Stephen Warrenc7ba99c2016-05-12 13:32:55 -060014int board_early_init_f(void)
15{
16 return 0;
17}
18
Stephen Warrencb0ff4c2016-07-27 15:24:57 -060019__weak int tegra_board_init(void)
Stephen Warrenc7ba99c2016-05-12 13:32:55 -060020{
21 return 0;
22}
23
Stephen Warrencb0ff4c2016-07-27 15:24:57 -060024int board_init(void)
25{
26 return tegra_board_init();
27}
28
Stephen Warrenc7ba99c2016-05-12 13:32:55 -060029int board_late_init(void)
30{
31 return 0;
32}
33
Stephen Warrenc7ba99c2016-05-12 13:32:55 -060034void pad_init_mmc(struct mmc_host *host)
35{
36}
37
38int board_mmc_init(bd_t *bd)
39{
40 tegra_mmc_init();
41
42 return 0;
43}