From: Allen Martin Date: Fri, 31 Aug 2012 08:30:08 +0000 (+0000) Subject: tegra20: remove timer_init from SPL build X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=45ec5b2579e8f9e58f58d9face9147957e5a873e;p=project%2Fbcm63xx%2Fu-boot.git tegra20: remove timer_init from SPL build Don't use timer_init from tegra board.c. This comes out of arm720t for the SPL build. Signed-off-by: Allen Martin Acked-by: Stephen Warren Tested-by: Thierry Reding Signed-off-by: Tom Warren --- diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c index d1a7f3a21c..6753f950f7 100644 --- a/board/nvidia/common/board.c +++ b/board/nvidia/common/board.c @@ -49,6 +49,7 @@ const struct tegra20_sysinfo sysinfo = { CONFIG_TEGRA20_BOARD_STRING }; +#ifndef CONFIG_SPL_BUILD /* * Routine: timer_init * Description: init the timestamp and lastinc value @@ -57,6 +58,7 @@ int timer_init(void) { return 0; } +#endif void __pin_mux_usb(void) {