diff options
author | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2012-05-16 10:23:21 +0900 |
---|---|---|
committer | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2012-05-28 09:12:54 +0900 |
commit | a80a661989d35620465da85d9d9f8179e9c9e843 (patch) | |
tree | 4df1923a67fc30ae5469e7edeec25f45a7e0e18e | |
parent | bfc93fb47d41c1aa0831469eabaf88afe7f99db1 (diff) | |
download | u-boot-a80a661989d35620465da85d9d9f8179e9c9e843.tar.gz u-boot-a80a661989d35620465da85d9d9f8179e9c9e843.tar.bz2 u-boot-a80a661989d35620465da85d9d9f8179e9c9e843.zip |
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>
-rw-r--r-- | include/configs/ecovec.h | 1 | ||||
-rw-r--r-- | include/configs/espt.h | 1 | ||||
-rw-r--r-- | include/configs/r0p7734.h | 2 | ||||
-rw-r--r-- | include/configs/sh7757lcr.h | 1 | ||||
-rw-r--r-- | include/configs/sh7763rdp.h | 1 |
5 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/ecovec.h b/include/configs/ecovec.h index 4d09132701..f6aacd0f21 100644 --- a/include/configs/ecovec.h +++ b/include/configs/ecovec.h @@ -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 diff --git a/include/configs/espt.h b/include/configs/espt.h index 3df1faeeef..f61e2d87e5 100644 --- a/include/configs/espt.h +++ b/include/configs/espt.h @@ -124,5 +124,6 @@ #define CONFIG_PHYLIB #define CONFIG_BITBANGMII #define CONFIG_BITBANGMII_MULTI +#define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII #endif /* __SH7763RDP_H */ diff --git a/include/configs/r0p7734.h b/include/configs/r0p7734.h index aa3193da72..f143c3bea5 100644 --- a/include/configs/r0p7734.h +++ b/include/configs/r0p7734.h @@ -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 diff --git a/include/configs/sh7757lcr.h b/include/configs/sh7757lcr.h index 708bff7bb7..d5c7b7215e 100644 --- a/include/configs/sh7757lcr.h +++ b/include/configs/sh7757lcr.h @@ -109,6 +109,7 @@ #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) diff --git a/include/configs/sh7763rdp.h b/include/configs/sh7763rdp.h index 59728f575d..9efbbd0c29 100644 --- a/include/configs/sh7763rdp.h +++ b/include/configs/sh7763rdp.h @@ -124,5 +124,6 @@ #define CONFIG_PHYLIB #define CONFIG_BITBANGMII #define CONFIG_BITBANGMII_MULTI +#define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_MII #endif /* __SH7763RDP_H */ |