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