浏览代码

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 <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>
Allen Martin 12 年之前
父节点
当前提交
45ec5b2579
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      board/nvidia/common/board.c

+ 2 - 0
board/nvidia/common/board.c

@@ -49,6 +49,7 @@ const struct tegra20_sysinfo sysinfo = {
 	CONFIG_TEGRA20_BOARD_STRING
 	CONFIG_TEGRA20_BOARD_STRING
 };
 };
 
 
+#ifndef CONFIG_SPL_BUILD
 /*
 /*
  * Routine: timer_init
  * Routine: timer_init
  * Description: init the timestamp and lastinc value
  * Description: init the timestamp and lastinc value
@@ -57,6 +58,7 @@ int timer_init(void)
 {
 {
 	return 0;
 	return 0;
 }
 }
+#endif
 
 
 void __pin_mux_usb(void)
 void __pin_mux_usb(void)
 {
 {