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

login
register
mail settings
Submitter Yoshihiro Shimoda
Date Oct. 31, 2011, 1:44 a.m.
Message ID <4EADFD72.10104@renesas.com>
Download mbox | patch
Permalink /patch/122698/
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/sh7763rdp.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/sh7763rdp.h |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/include/configs/sh7763rdp.h b/include/configs/sh7763rdp.h
> index b8eb13d..59728f5 100644
> --- a/include/configs/sh7763rdp.h
> +++ b/include/configs/sh7763rdp.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_SAVEENV
>  #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 (0x01)
> +#define CONFIG_PHYLIB
> +#define CONFIG_BITBANGMII
> +#define CONFIG_BITBANGMII_MULTI
>
>  #endif /* __SH7763RDP_H */
> --
> 1.7.1
>

Patch

diff --git a/include/configs/sh7763rdp.h b/include/configs/sh7763rdp.h
index b8eb13d..59728f5 100644
--- a/include/configs/sh7763rdp.h
+++ b/include/configs/sh7763rdp.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_SAVEENV
 #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 (0x01)
+#define CONFIG_PHYLIB
+#define CONFIG_BITBANGMII
+#define CONFIG_BITBANGMII_MULTI

 #endif /* __SH7763RDP_H */