blob: 80b55707e90f2eab5466bbc59eb4f8e648dc86c1 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Stephen Warren03667eb2016-05-12 13:32:55 -06002/*
3 * Copyright (c) 2016, NVIDIA CORPORATION.
Stephen Warren03667eb2016-05-12 13:32:55 -06004 */
5
6#include <common.h>
7#include <asm/arch/tegra.h>
Stephen Warren03667eb2016-05-12 13:32:55 -06008
Stephen Warren03667eb2016-05-12 13:32:55 -06009int board_early_init_f(void)
10{
11 return 0;
12}
13
Stephen Warren20e78432016-07-27 15:24:57 -060014__weak int tegra_board_init(void)
Stephen Warren03667eb2016-05-12 13:32:55 -060015{
16 return 0;
17}
18
Stephen Warren20e78432016-07-27 15:24:57 -060019int board_init(void)
20{
21 return tegra_board_init();
22}
23
Stephen Warren9a40c792016-09-12 11:51:12 -060024__weak int tegra_soc_board_init_late(void)
Stephen Warren03667eb2016-05-12 13:32:55 -060025{
26 return 0;
27}
Stephen Warren9a40c792016-09-12 11:51:12 -060028
29int board_late_init(void)
30{
31 return tegra_soc_board_init_late();
32}