Commit 3a9e7ba2 authored by Hugo Villeneuve's avatar Hugo Villeneuve Committed by Jean-Christophe PLAGNIOL-VILLARD

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: default avatarHugo Villeneuve <[email protected]>
parent 348753d4
...@@ -29,11 +29,8 @@ ...@@ -29,11 +29,8 @@
#include <asm/arch/hardware.h> #include <asm/arch/hardware.h>
#include <asm/arch/emac_defs.h> #include <asm/arch/emac_defs.h>
#define MACH_TYPE_DAVINCI_EVM 901
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
extern void i2c_init(int speed, int slaveaddr);
extern void timer_init(void); extern void timer_init(void);
extern int eth_hw_init(void); extern int eth_hw_init(void);
extern phy_t phy; extern phy_t phy;
......
...@@ -29,11 +29,8 @@ ...@@ -29,11 +29,8 @@
#include <asm/arch/hardware.h> #include <asm/arch/hardware.h>
#include <asm/arch/emac_defs.h> #include <asm/arch/emac_defs.h>
#define MACH_TYPE_SCHMOOGIE 1255
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
extern void i2c_init(int speed, int slaveaddr);
extern void timer_init(void); extern void timer_init(void);
extern int eth_hw_init(void); extern int eth_hw_init(void);
extern phy_t phy; extern phy_t phy;
......
...@@ -29,11 +29,8 @@ ...@@ -29,11 +29,8 @@
#include <asm/arch/hardware.h> #include <asm/arch/hardware.h>
#include <asm/arch/emac_defs.h> #include <asm/arch/emac_defs.h>
#define MACH_TYPE_SONATA 1254
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
extern void i2c_init(int speed, int slaveaddr);
extern void timer_init(void); extern void timer_init(void);
extern int eth_hw_init(void); extern int eth_hw_init(void);
extern phy_t phy; extern phy_t phy;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment