Stephen Warren | c7ba99c | 2016-05-12 13:32:55 -0600 | [diff] [blame] | 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 | |
Stephen Warren | c7ba99c | 2016-05-12 13:32:55 -0600 | [diff] [blame] | 14 | int board_early_init_f(void) |
| 15 | { |
| 16 | return 0; |
| 17 | } |
| 18 | |
Stephen Warren | cb0ff4c | 2016-07-27 15:24:57 -0600 | [diff] [blame] | 19 | __weak int tegra_board_init(void) |
Stephen Warren | c7ba99c | 2016-05-12 13:32:55 -0600 | [diff] [blame] | 20 | { |
| 21 | return 0; |
| 22 | } |
| 23 | |
Stephen Warren | cb0ff4c | 2016-07-27 15:24:57 -0600 | [diff] [blame] | 24 | int board_init(void) |
| 25 | { |
| 26 | return tegra_board_init(); |
| 27 | } |
| 28 | |
Stephen Warren | c7ba99c | 2016-05-12 13:32:55 -0600 | [diff] [blame] | 29 | int board_late_init(void) |
| 30 | { |
| 31 | return 0; |
| 32 | } |
| 33 | |
Stephen Warren | c7ba99c | 2016-05-12 13:32:55 -0600 | [diff] [blame] | 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 | } |