]> git.sur5r.net Git - u-boot/commitdiff
tegra20: remove timer_init from SPL build
authorAllen Martin <amartin@nvidia.com>
Fri, 31 Aug 2012 08:30:08 +0000 (08:30 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 1 Sep 2012 12:58:21 +0000 (14:58 +0200)
Don't use timer_init from tegra board.c.  This comes out of arm720t
for the SPL build.

Signed-off-by: Allen Martin <amartin@nvidia.com>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Tested-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Tom Warren <twarren@nvidia.com>
board/nvidia/common/board.c

index d1a7f3a21cc6d050657b789e6f67d0c49bb94362..6753f950f7520477a30a762c5e0c7001d128d274 100644 (file)
@@ -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)
 {