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