Skip to contentSkip to conversation

sh7757lcr: change config for new sh_eth driver

PATCH New Yoshihiro Shimoda 2 participants 2 messages Oct 11, 2011 – Oct 26, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 sh7757lcr: change config for new sh_eth driver

The new sh_eth driver uses the phy driver. So, this patch enables it.

---
If this patch is OK, I will submit patches of espt.h and sh7763rdp.h later.

 include/configs/sh7757lcr.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
include/configs/sh7757lcr.h +4 -0
index 4a5fd0d..63b39d6 100644
@@ -37,6 +37,7 @@
 
 #define CONFIG_CMD_MEMORY
 #define CONFIG_CMD_NET
+#define CONFIG_CMD_MII
 #define CONFIG_CMD_PING
 #define CONFIG_CMD_NFS
 #define CONFIG_CMD_DFL
@@ -101,6 +102,9 @@
 #define CONFIG_SH_ETHER_USE_PORT	0
 #define CONFIG_SH_ETHER_PHY_ADDR	1
 #define CONFIG_SH_ETHER_CACHE_WRITEBACK	1
+#define CONFIG_PHYLIB
+#define CONFIG_BITBANGMII
+#define CONFIG_BITBANGMII_MULTI
 
 #define SH7757LCR_ETHERNET_MAC_BASE_SPI	0x000b0000
 #define SH7757LCR_SPI_SECTOR_SIZE	(64 * 1024)
Signature · 1 line
1.7.1
#1 lore raw

PATCH 2/2 sh7757lcr: change config for new sh_eth driver

Applied, thanks.

Best regards,
Nobuhiro

2011/10/11 Yoshihiro Shimoda <[email protected]>:

Quoted 34 lines

The new sh_eth driver uses the phy driver. So, this patch enables it.

---
?If this patch is OK, I will submit patches of espt.h and sh7763rdp.h later.

?include/configs/sh7757lcr.h | ? ?4 ++++
?1 files changed, 4 insertions(+), 0 deletions(-)

include/configs/sh7757lcr.h +0 -0
index 4a5fd0d..63b39d6 100644
@@ -37,6 +37,7 @@
 

?#define CONFIG_CMD_MEMORY
?#define CONFIG_CMD_NET
+#define CONFIG_CMD_MII
?#define CONFIG_CMD_PING
?#define CONFIG_CMD_NFS
?#define CONFIG_CMD_DFL

include/configs/sh7757lcr.h +0 -0
@@ -101,6 +102,9 @@

?#define CONFIG_SH_ETHER_USE_PORT ? ? ? 0
?#define CONFIG_SH_ETHER_PHY_ADDR ? ? ? 1
?#define CONFIG_SH_ETHER_CACHE_WRITEBACK ? ? ? ?1

include/configs/sh7757lcr.h +3 -0
+#define CONFIG_PHYLIB
+#define CONFIG_BITBANGMII
+#define CONFIG_BITBANGMII_MULTI

?#define SH7757LCR_ETHERNET_MAC_BASE_SPI ? ? ? ?0x000b0000 ?#define SH7757LCR_SPI_SECTOR_SIZE ? ? ?(64 * 1024) --
1.7.1

Signature · 3 lines
Nobuhiro Iwamatsu
?? iwamatsu at {nigauri.org / debian.org}
?? GPG ID: 40AD1FA6