Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Stephen Warren | c7ba99c | 2016-05-12 13:32:55 -0600 | [diff] [blame] | 2 | /* |
3 | * Copyright (c) 2016, NVIDIA CORPORATION. | ||||
Stephen Warren | c7ba99c | 2016-05-12 13:32:55 -0600 | [diff] [blame] | 4 | */ |
5 | |||||
6 | #include <common.h> | ||||
7 | #include <asm/arch/tegra.h> | ||||
Stephen Warren | c7ba99c | 2016-05-12 13:32:55 -0600 | [diff] [blame] | 8 | |
Stephen Warren | c7ba99c | 2016-05-12 13:32:55 -0600 | [diff] [blame] | 9 | int board_early_init_f(void) |
10 | { | ||||
11 | return 0; | ||||
12 | } | ||||
13 | |||||
Stephen Warren | cb0ff4c | 2016-07-27 15:24:57 -0600 | [diff] [blame] | 14 | __weak int tegra_board_init(void) |
Stephen Warren | c7ba99c | 2016-05-12 13:32:55 -0600 | [diff] [blame] | 15 | { |
16 | return 0; | ||||
17 | } | ||||
18 | |||||
Stephen Warren | cb0ff4c | 2016-07-27 15:24:57 -0600 | [diff] [blame] | 19 | int board_init(void) |
20 | { | ||||
21 | return tegra_board_init(); | ||||
22 | } | ||||
23 | |||||
Stephen Warren | 86919a2 | 2016-09-12 11:51:12 -0600 | [diff] [blame] | 24 | __weak int tegra_soc_board_init_late(void) |
Stephen Warren | c7ba99c | 2016-05-12 13:32:55 -0600 | [diff] [blame] | 25 | { |
26 | return 0; | ||||
27 | } | ||||
Stephen Warren | 86919a2 | 2016-09-12 11:51:12 -0600 | [diff] [blame] | 28 | |
29 | int board_late_init(void) | ||||
30 | { | ||||
31 | return tegra_soc_board_init_late(); | ||||
32 | } |