diff options
author | Stephen Warren | 2016-07-27 15:24:57 -0600 |
---|---|---|
committer | Tom Warren | 2016-08-04 13:36:59 -0700 |
commit | cb0ff4ccc039435bef627883ade3e3911805cec5 (patch) | |
tree | d5f9fb8b163af18192b89b3a76ece383c67d1f06 | |
parent | 9e613de0e1a88a61a4e3ea82d0759e1044d77073 (diff) |
ARM: tegra: call tegra_board_init on Tegra186
Introduce tegra_board_init() and call it from board_init(). Tegra wil use
tegra_board_init() for board-specific initialization, and board_init() for
SoC-specific initialization.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
-rw-r--r-- | arch/arm/mach-tegra/board186.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board186.c b/arch/arm/mach-tegra/board186.c index 876ccba5e59..a7583d44383 100644 --- a/arch/arm/mach-tegra/board186.c +++ b/arch/arm/mach-tegra/board186.c @@ -16,11 +16,16 @@ int board_early_init_f(void) return 0; } -int board_init(void) +__weak int tegra_board_init(void) { return 0; } +int board_init(void) +{ + return tegra_board_init(); +} + int board_late_init(void) { return 0; |