浏览代码

Fix 8641HPCN pollution

John Traill 19 年之前
父节点
当前提交
492900b985
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      cpu/mpc86xx/speed.c

+ 2 - 0
cpu/mpc86xx/speed.c

@@ -30,6 +30,7 @@
 #include <asm/processor.h>
 #include <asm/processor.h>
 
 
 
 
+#ifdef MPC8641HPCN
 /*
 /*
  * get_board_sys_clk
  * get_board_sys_clk
  *	Reads the FPGA on board for CONFIG_SYS_CLK_FREQ
  *	Reads the FPGA on board for CONFIG_SYS_CLK_FREQ
@@ -93,6 +94,7 @@ unsigned long get_board_sys_clk(ulong dummy)
 	return val;
 	return val;
 }
 }
 
 
+#endif
 
 
 void get_sys_info (sys_info_t *sysInfo)
 void get_sys_info (sys_info_t *sysInfo)
 {
 {