summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNick Thompson <nick.thompson@ge.com>2010-02-17 20:37:24 -0500
committerTom Rix <Tom.Rix@windriver.com>2010-03-07 12:36:35 -0600
commit37cffdad06af5a4538dd090794f213292135adbc (patch)
tree10f2e74d04197e01ba8838fdc4f1b8a79350fa1c /include
parentd8775d03f3f0116241cfb45c7ef27fd080904c4a (diff)
downloadu-boot-imx-37cffdad06af5a4538dd090794f213292135adbc.zip
u-boot-imx-37cffdad06af5a4538dd090794f213292135adbc.tar.gz
u-boot-imx-37cffdad06af5a4538dd090794f213292135adbc.tar.bz2
da830evm: Add support for TI EMAC
Adds support for ethernet networking on the da830evm platform. This platform uses an SoC EMAC interface and a 3 port ethernet switch as a PHY with an RMII interface. The PHY also has a i2c interface for configuring the switch functions. Signed-off-by: Nick Thompson <nick.thompson@ge.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/arch-davinci/emac_defs.h1
-rw-r--r--include/configs/da830evm.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-arm/arch-davinci/emac_defs.h b/include/asm-arm/arch-davinci/emac_defs.h
index e313263..b0ec8f5 100644
--- a/include/asm-arm/arch-davinci/emac_defs.h
+++ b/include/asm-arm/arch-davinci/emac_defs.h
@@ -367,6 +367,7 @@ typedef struct {
int davinci_eth_phy_read(u_int8_t phy_addr, u_int8_t reg_num, u_int16_t *data);
int davinci_eth_phy_write(u_int8_t phy_addr, u_int8_t reg_num, u_int16_t data);
+void davinci_eth_set_mac_addr(const u_int8_t *addr);
typedef struct
{
diff --git a/include/configs/da830evm.h b/include/configs/da830evm.h
index 65747fb..0f58e11 100644
--- a/include/configs/da830evm.h
+++ b/include/configs/da830evm.h
@@ -27,6 +27,7 @@
/*
* Board
*/
+#define CONFIG_DRIVER_TI_EMAC
/*
* SoC Configuration