From: Vipin Kumar <vipin.kumar@st.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH resend 1/2] net/designware: Do not select MIIPORT for RGMII interface
Date: Wed, 12 Dec 2012 15:31:09 +0530 [thread overview]
Message-ID: <50C855E5.5030509@st.com> (raw)
In-Reply-To: <21ad31fb0501d0cd56f978467ae31f153a22ec4b.1354777675.git.vipin.kumar@st.com>
ping
On 12/6/2012 12:40 PM, Vipin KUMAR wrote:
> Do not select MIIPORT for RGMII interface
>
> Signed-off-by: Vipin Kumar<vipin.kumar@st.com>
> ---
> drivers/net/designware.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/net/designware.c b/drivers/net/designware.c
> index bf21a08..46f6601 100644
> --- a/drivers/net/designware.c
> +++ b/drivers/net/designware.c
> @@ -113,7 +113,9 @@ static int mac_reset(struct eth_device *dev)
> int timeout = CONFIG_MACRESET_TIMEOUT;
>
> writel(DMAMAC_SRST,&dma_p->busmode);
> - writel(MII_PORTSELECT,&mac_p->conf);
> +
> + if (priv->interface != PHY_INTERFACE_MODE_RGMII)
> + writel(MII_PORTSELECT,&mac_p->conf);
>
> start = get_timer(0);
> while (get_timer(start)< timeout) {
next prev parent reply other threads:[~2012-12-12 10:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-06 7:10 [U-Boot] [PATCH resend 1/2] net/designware: Do not select MIIPORT for RGMII interface Vipin Kumar
2012-12-06 7:10 ` [U-Boot] [PATCH resend 2/2] net/macb: Add arch specific routine to get mdio control Vipin Kumar
2012-12-12 10:37 ` Vipin Kumar
2012-12-12 11:07 ` Stefan Roese
2012-12-12 11:13 ` Vipin Kumar
2012-12-12 10:01 ` Vipin Kumar [this message]
2012-12-12 10:09 ` [U-Boot] [PATCH resend 1/2] net/designware: Do not select MIIPORT for RGMII interface Stefan Roese
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50C855E5.5030509@st.com \
--to=vipin.kumar@st.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox