瀏覽代碼

ARM DaVinci: Remove duplicate definitions of MACH_TYPE and prototype of i2c_init()

ARM DaVinci: Remove duplicate definitions of MACH_TYPE
and prototype of i2c_init().

Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
Hugo Villeneuve 17 年之前
父節點
當前提交
3a9e7ba2ac
共有 3 個文件被更改,包括 0 次插入9 次删除
  1. 0 3
      board/davinci/dv-evm/dv_board.c
  2. 0 3
      board/davinci/schmoogie/dv_board.c
  3. 0 3
      board/davinci/sonata/dv_board.c

+ 0 - 3
board/davinci/dv-evm/dv_board.c

@@ -29,11 +29,8 @@
 #include <asm/arch/hardware.h>
 #include <asm/arch/emac_defs.h>
 
-#define MACH_TYPE_DAVINCI_EVM		901
-
 DECLARE_GLOBAL_DATA_PTR;
 
-extern void	i2c_init(int speed, int slaveaddr);
 extern void	timer_init(void);
 extern int	eth_hw_init(void);
 extern phy_t	phy;

+ 0 - 3
board/davinci/schmoogie/dv_board.c

@@ -29,11 +29,8 @@
 #include <asm/arch/hardware.h>
 #include <asm/arch/emac_defs.h>
 
-#define MACH_TYPE_SCHMOOGIE		1255
-
 DECLARE_GLOBAL_DATA_PTR;
 
-extern void	i2c_init(int speed, int slaveaddr);
 extern void	timer_init(void);
 extern int	eth_hw_init(void);
 extern phy_t	phy;

+ 0 - 3
board/davinci/sonata/dv_board.c

@@ -29,11 +29,8 @@
 #include <asm/arch/hardware.h>
 #include <asm/arch/emac_defs.h>
 
-#define MACH_TYPE_SONATA		1254
-
 DECLARE_GLOBAL_DATA_PTR;
 
-extern void	i2c_init(int speed, int slaveaddr);
 extern void	timer_init(void);
 extern int	eth_hw_init(void);
 extern phy_t	phy;