blob: 691c3fd98dabdec9e3450914b99a959511dd8c19 [file] [log] [blame]
Stephen Warrenc7ba99c2016-05-12 13:32:55 -06001/*
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 Warrenc7ba99c2016-05-12 13:32:55 -06009
10DECLARE_GLOBAL_DATA_PTR;
11
Stephen Warrenc7ba99c2016-05-12 13:32:55 -060012int board_early_init_f(void)
13{
14 return 0;
15}
16
Stephen Warrencb0ff4c2016-07-27 15:24:57 -060017__weak int tegra_board_init(void)
Stephen Warrenc7ba99c2016-05-12 13:32:55 -060018{
19 return 0;
20}
21
Stephen Warrencb0ff4c2016-07-27 15:24:57 -060022int board_init(void)
23{
24 return tegra_board_init();
25}
26
Stephen Warren86919a22016-09-12 11:51:12 -060027__weak int tegra_soc_board_init_late(void)
Stephen Warrenc7ba99c2016-05-12 13:32:55 -060028{
29 return 0;
30}
Stephen Warren86919a22016-09-12 11:51:12 -060031
32int board_late_init(void)
33{
34 return tegra_soc_board_init_late();
35}