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