Commit a80a661989d35620465da85d9d9f8179e9c9e843

Authored by Nobuhiro Iwamatsu
1 parent bfc93fb47d

sh: Set CONFIG_SH_ETHER_PHY_MODE and CONFIG_SH_ETHER_SH7734_MII to boards with sh_eth

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>

Showing 5 changed files with 6 additions and 0 deletions Side-by-side Diff

include/configs/ecovec.h
... ... @@ -95,6 +95,7 @@
95 95 #define CONFIG_PHYLIB
96 96 #define CONFIG_BITBANGMII
97 97 #define CONFIG_BITBANGMII_MULTI
  98 +#define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII
98 99  
99 100 /* USB / R8A66597 */
100 101 #define CONFIG_USB_R8A66597_HCD
include/configs/espt.h
... ... @@ -124,6 +124,7 @@
124 124 #define CONFIG_PHYLIB
125 125 #define CONFIG_BITBANGMII
126 126 #define CONFIG_BITBANGMII_MULTI
  127 +#define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII
127 128  
128 129 #endif /* __SH7763RDP_H */
include/configs/r0p7734.h
... ... @@ -62,6 +62,8 @@
62 62 #define CONFIG_PHY_SMSC 1
63 63 #define CONFIG_BITBANGMII
64 64 #define CONFIG_BITBANGMII_MULTI
  65 +#define CONFIG_SH_ETHER_SH7734_MII (0x00) /* MII */
  66 +#define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII
65 67 #ifndef CONFIG_SH_ETHER
66 68 # define CONFIG_SMC911X
67 69 # define CONFIG_SMC911X_16_BIT
include/configs/sh7757lcr.h
... ... @@ -109,6 +109,7 @@
109 109 #define CONFIG_PHYLIB
110 110 #define CONFIG_BITBANGMII
111 111 #define CONFIG_BITBANGMII_MULTI
  112 +#define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII
112 113  
113 114 #define SH7757LCR_ETHERNET_MAC_BASE_SPI 0x000b0000
114 115 #define SH7757LCR_SPI_SECTOR_SIZE (64 * 1024)
include/configs/sh7763rdp.h
... ... @@ -124,6 +124,7 @@
124 124 #define CONFIG_PHYLIB
125 125 #define CONFIG_BITBANGMII
126 126 #define CONFIG_BITBANGMII_MULTI
  127 +#define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII
127 128  
128 129 #endif /* __SH7763RDP_H */