ARM DaVinci: Remove duplicate definitions of MACH_TYPE and prototype of i2c_init()
authorHugo Villeneuve <hugo.villeneuve@lyrtech.com>
Fri, 11 Jul 2008 19:10:10 +0000 (15:10 -0400)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Mon, 14 Jul 2008 21:40:55 +0000 (23:40 +0200)
ARM DaVinci: Remove duplicate definitions of MACH_TYPE
and prototype of i2c_init().

Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
board/davinci/dv-evm/dv_board.c
board/davinci/schmoogie/dv_board.c
board/davinci/sonata/dv_board.c

index 88b1e57593cc66fa5769e3cd67fe9c933571c7bc..454ac215f4023f0121cb8d588f43b9b30c095260 100644 (file)
 #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;
index 13d2195819f7891c21e7df761a94cf884fa64e02..529a4370db2a3590931ca9cb44db293c1212235e 100644 (file)
 #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;
index e8665e5d3a4eece26617ff286c79d6970e94ce87..2db40c834bd3d5f0ee5a5049386d7194b203f514 100644 (file)
 #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;