From: Stephen Warren Date: Wed, 27 Jul 2016 21:24:57 +0000 (-0600) Subject: ARM: tegra: call tegra_board_init on Tegra186 X-Git-Tag: v2016.09-rc2~97^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cb0ff4ccc039435bef627883ade3e3911805cec5;p=oweals%2Fu-boot.git 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 Reviewed-by: Simon Glass Signed-off-by: Tom Warren --- diff --git a/arch/arm/mach-tegra/board186.c b/arch/arm/mach-tegra/board186.c index 876ccba5e5..a7583d4438 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;