Skip to contentSkip to conversation

TI: DaVinci DM365: Flag for updated EMAC driver.

PATCH New s-paulraj at ti.com 2 participants 2 messages Oct 2, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 TI: DaVinci DM365: Flag for updated EMAC driver.

From: Sandeep Paulraj <[email protected]>

The flag "CONFIG_DAVINCI_EMAC_VERSION2" is used by the DaVinci EMAC driver to differentiate between different versions of the IP.

---
 include/configs/davinci_dm365evm.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/configs/davinci_dm365evm.h +1 -0
index 2797f82..643d26c 100644
@@ -57,6 +57,7 @@
 
 /* Network Configuration */
 #define CONFIG_DRIVER_TI_EMAC
+#define CONFIG_DAVINCI_EMAC_VERSION2
 #define CONFIG_MII
 #define CONFIG_BOOTP_DEFAULT
 #define CONFIG_BOOTP_DNS
Signature · 1 line
1.6.0.4
#1 lore raw

PATCH 1/1 TI: DaVinci DM365: Flag for updated EMAC driver.

Quoted 16 lines · s-paulraj at ti.com

From: Sandeep Paulraj <[email protected]>

The flag "CONFIG_DAVINCI_EMAC_VERSION2" is used by the DaVinci EMAC driver to differentiate between different versions of the IP.

---
 include/configs/davinci_dm365evm.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/configs/davinci_dm365evm.h +0 -0
index 2797f82..643d26c 100644

include/configs/davinci_dm365evm.h line 63

Quoted 7 lines
include/configs/davinci_dm365evm.h +1 -0
@@ -57,6 +57,7 @@
 
 /* Network Configuration */
 #define CONFIG_DRIVER_TI_EMAC
+#define CONFIG_DAVINCI_EMAC_VERSION2
 #define CONFIG_MII
 #define CONFIG_BOOTP_DEFAULT
 #define CONFIG_BOOTP_DNS

This is fine if you do not change the logic in the previous patch which would require this to change to

#define CONFIG_DAVINCI_EMAC_VERSION 2

Either way is fine.
Ack

Tom