sh: Set CONFIG_SH_ETHER_PHY_MODE and CONFIG_SH_ETHER_SH7734_MII to boards with sh_eth
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Wed, 16 May 2012 01:23:21 +0000 (10:23 +0900)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Mon, 28 May 2012 00:12:54 +0000 (09:12 +0900)
The board with sh_eth needs to set CONFIG_SH_ETHER_PHY_MODE.
And SH7734 needs to set value of CONFIG_SH_ETHER_SH7734_MII.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
include/configs/ecovec.h
include/configs/espt.h
include/configs/r0p7734.h
include/configs/sh7757lcr.h
include/configs/sh7763rdp.h

index 4d09132701a60104baa1f4e3bff265e459d1b128..f6aacd0f219e71bc1e4487f6a6fe678cd0809ada 100644 (file)
@@ -95,6 +95,7 @@
 #define CONFIG_PHYLIB
 #define CONFIG_BITBANGMII
 #define CONFIG_BITBANGMII_MULTI
+#define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII
 
 /* USB / R8A66597 */
 #define CONFIG_USB_R8A66597_HCD
index 3df1faeeef77c472b056a838a91d90d51b5d8d80..f61e2d87e5467c41d39342a4293b3a7d7f429826 100644 (file)
 #define CONFIG_PHYLIB
 #define CONFIG_BITBANGMII
 #define CONFIG_BITBANGMII_MULTI
+#define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII
 
 #endif /* __SH7763RDP_H */
index aa3193da724d94e94cb2bc26cb86db054c834cba..f143c3bea566a95b8bfe790f8d0ae9119c66a24e 100644 (file)
@@ -62,6 +62,8 @@
 #define CONFIG_PHY_SMSC 1
 #define CONFIG_BITBANGMII
 #define CONFIG_BITBANGMII_MULTI
+#define CONFIG_SH_ETHER_SH7734_MII (0x00) /* MII */
+#define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII
 #ifndef CONFIG_SH_ETHER
 # define CONFIG_SMC911X
 # define CONFIG_SMC911X_16_BIT
index 708bff7bb70ff1e1a6aedfd3e1f15320c3a1da55..d5c7b7215ea263c10f511b3d253753c038c55499 100644 (file)
 #define CONFIG_PHYLIB
 #define CONFIG_BITBANGMII
 #define CONFIG_BITBANGMII_MULTI
+#define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII
 
 #define SH7757LCR_ETHERNET_MAC_BASE_SPI        0x000b0000
 #define SH7757LCR_SPI_SECTOR_SIZE      (64 * 1024)
index 59728f575d6491144480adef96d1cb28dcd204ae..9efbbd0c292b54cf32b7e080eda82957b9d8b051 100644 (file)
 #define CONFIG_PHYLIB
 #define CONFIG_BITBANGMII
 #define CONFIG_BITBANGMII_MULTI
+#define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII
 
 #endif /* __SH7763RDP_H */