Patchwork [U-Boot] sh: espt: change config for new sh_eth driver

login
register
mail settings
Submitter Yoshihiro Shimoda
Date Oct. 31, 2011, 1:44 a.m.
Message ID <4EADFD73.7000102@renesas.com>
Download mbox | patch
Permalink /patch/122699/
State Awaiting Upstream
Headers show

Comments

Yoshihiro Shimoda - Oct. 31, 2011, 1:44 a.m.
The new sh_eth driver uses the phy driver. So, this patch enables it.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
---
 include/configs/espt.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
Nobuhiro Iwamatsu - Nov. 8, 2011, 5:38 a.m.
Applied, thanks.

Best regards,
  Nobuhiro


2011/10/31 Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>:
> The new sh_eth driver uses the phy driver. So, this patch enables it.
>
> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
> ---
>  include/configs/espt.h |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/include/configs/espt.h b/include/configs/espt.h
> index 38058c7..3df1fae 100644
> --- a/include/configs/espt.h
> +++ b/include/configs/espt.h
> @@ -39,6 +39,7 @@
>  #define CONFIG_CMD_FLASH
>  #define CONFIG_CMD_MEMORY
>  #define CONFIG_CMD_NET
> +#define CONFIG_CMD_MII
>  #define CONFIG_CMD_PING
>  #define CONFIG_CMD_ENV
>  #define CONFIG_CMD_NFS
> @@ -120,5 +121,8 @@
>  #define CONFIG_SH_ETHER 1
>  #define CONFIG_SH_ETHER_USE_PORT (1)
>  #define CONFIG_SH_ETHER_PHY_ADDR (0x00)
> +#define CONFIG_PHYLIB
> +#define CONFIG_BITBANGMII
> +#define CONFIG_BITBANGMII_MULTI
>
>  #endif /* __SH7763RDP_H */
> --
> 1.7.1
>

Patch

diff --git a/include/configs/espt.h b/include/configs/espt.h
index 38058c7..3df1fae 100644
--- a/include/configs/espt.h
+++ b/include/configs/espt.h
@@ -39,6 +39,7 @@ 
 #define CONFIG_CMD_FLASH
 #define CONFIG_CMD_MEMORY
 #define CONFIG_CMD_NET
+#define CONFIG_CMD_MII
 #define CONFIG_CMD_PING
 #define CONFIG_CMD_ENV
 #define CONFIG_CMD_NFS
@@ -120,5 +121,8 @@ 
 #define CONFIG_SH_ETHER 1
 #define CONFIG_SH_ETHER_USE_PORT (1)
 #define CONFIG_SH_ETHER_PHY_ADDR (0x00)
+#define CONFIG_PHYLIB
+#define CONFIG_BITBANGMII
+#define CONFIG_BITBANGMII_MULTI

 #endif /* __SH7763RDP_H */