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