Commit a80a661989d35620465da85d9d9f8179e9c9e843
1 parent
bfc93fb47d
Exists in
master
and in
54 other branches
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
include/configs/espt.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) |