U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Francesco Dolcini <francesco@dolcini.it>
To: Marek Vasut <marek.vasut+renesas@mailbox.org>
Cc: u-boot@lists.denx.de, Joe Hershberger <joe.hershberger@ni.com>,
	Ramon Fried <rfried.dev@gmail.com>, Tom Rini <trini@konsulko.com>
Subject: Re: [PATCH 2/2] net: phy: Replace PHY_ANEG_TIMEOUT with Kconfig symbol
Date: Sat, 1 Jun 2024 11:21:54 +0200	[thread overview]
Message-ID: <20240601092154.GA4383@francesco-nb> (raw)
In-Reply-To: <20240531164733.192105-2-marek.vasut+renesas@mailbox.org>

Hello Marek,

On Fri, May 31, 2024 at 06:47:17PM +0200, Marek Vasut wrote:
> Switch PHY_ANEG_TIMEOUT to CONFIG_PHY_ANEG_TIMEOUT Kconfig symbol.
> This removes one more configuration headers option finalizes its
> Kconfig symbol conversion. No functional change expected.
> 
> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
> ---
...

> diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h
> index 0df3917e200..6fd43511ee4 100644
> --- a/include/configs/apalis_imx6.h
> +++ b/include/configs/apalis_imx6.h
> @@ -22,7 +22,6 @@
>  #define CFG_SYS_FSL_USDHC_NUM	3
>  
>  /* Network */
> -#define PHY_ANEG_TIMEOUT		15000 /* PHY needs longer aneg time */

You should remove also the line before, after removing the define it's
just a stale comment.

> diff --git a/include/configs/ds414.h b/include/configs/ds414.h
> index 9446acba792..f1921dac5e7 100644
> --- a/include/configs/ds414.h
> +++ b/include/configs/ds414.h
> @@ -55,6 +55,5 @@
>  
>  
>  /* increase autoneg timeout, my NIC sucks */
> -#define PHY_ANEG_TIMEOUT	16000

same here.

> diff --git a/include/configs/hmibsc.h b/include/configs/hmibsc.h
> index 27404c80fdf..950ec8b190d 100644
> --- a/include/configs/hmibsc.h
> +++ b/include/configs/hmibsc.h
> @@ -9,7 +9,6 @@
>  #define __CONFIGS_HMIBSC_H
>  
>  /* PHY needs a longer aneg time */
> -#define PHY_ANEG_TIMEOUT		8000

and here, and also in some of the following files.

Francesco


  reply	other threads:[~2024-06-01  9:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-31 16:47 [PATCH 1/2] net: phy: Turn default auto-negotiation timeout into Kconfig symbol Marek Vasut
2024-05-31 16:47 ` [PATCH 2/2] net: phy: Replace PHY_ANEG_TIMEOUT with " Marek Vasut
2024-06-01  9:21   ` Francesco Dolcini [this message]
2024-06-03 17:56     ` Tom Rini
2024-06-03 18:21       ` Francesco Dolcini
2024-08-18 20:06     ` Marek Vasut
2024-06-14 14:54 ` [PATCH 1/2] net: phy: Turn default auto-negotiation timeout into " Tom Rini
2024-06-14 20:26   ` Marek Vasut
2024-06-14 20:30     ` Tom Rini

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=20240601092154.GA4383@francesco-nb \
    --to=francesco@dolcini.it \
    --cc=joe.hershberger@ni.com \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=rfried.dev@gmail.com \
    --cc=trini@konsulko.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