2016-05-12 19:32:55 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2016, NVIDIA CORPORATION.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <common.h>
|
|
|
|
#include <asm/arch/tegra.h>
|
|
|
|
|
|
|
|
DECLARE_GLOBAL_DATA_PTR;
|
|
|
|
|
|
|
|
int board_early_init_f(void)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2016-07-27 21:24:57 +00:00
|
|
|
__weak int tegra_board_init(void)
|
2016-05-12 19:32:55 +00:00
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2016-07-27 21:24:57 +00:00
|
|
|
int board_init(void)
|
|
|
|
{
|
|
|
|
return tegra_board_init();
|
|
|
|
}
|
|
|
|
|
2016-09-12 17:51:12 +00:00
|
|
|
__weak int tegra_soc_board_init_late(void)
|
2016-05-12 19:32:55 +00:00
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
2016-09-12 17:51:12 +00:00
|
|
|
|
|
|
|
int board_late_init(void)
|
|
|
|
{
|
|
|
|
return tegra_soc_board_init_late();
|
|
|
|
}
|