All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [PATCH 1/3] arm: mvebu: ds414: Config header mini-review
Date: Tue, 5 Jan 2021 16:55:16 +0100	[thread overview]
Message-ID: <47dd052c-20f0-efd1-af5a-05890fe105fe@denx.de> (raw)
In-Reply-To: <20210103220646.26707-2-phil@nwl.cc>

On 03.01.21 23:06, Phil Sutter wrote:
> A few minor changes:
> 
> * Get rid of leftover comments, other commits removed the defines they
>    referred to.
> 
> * CONFIG_SYS_NETA_INTERFACE_TYPE is not used anymore since commit
>    e3b9c98a23ca9 ("net: mvneta: Convert to driver model").
> 
> * Drop CONFIG_USB_MAX_CONTROLLER_COUNT: it is per-HCI type, so XHCI and
>    EHCI could still both work be used.
> 
> * Unconditionally define CONFIG_EHCI_IS_TDI: it has no effect on XHCI so
>    that conditional doesn't make any sense.
> 
> * Define a larger PHY_ANEG_TIMEOUT: In my test bed, the NIC is directly
>    connected to some RTL8111 and the default 8s timeout was often too
>    short.
> 
> Signed-off-by: Phil Sutter <phil@nwl.cc>

Reviewed-by: Stefan Roese <sr@denx.de>

Thanks,
Stefan

> ---
>   include/configs/ds414.h | 21 +++------------------
>   1 file changed, 3 insertions(+), 18 deletions(-)
> 
> diff --git a/include/configs/ds414.h b/include/configs/ds414.h
> index a92e788a38b9e..8aa2d47bec68d 100644
> --- a/include/configs/ds414.h
> +++ b/include/configs/ds414.h
> @@ -24,31 +24,13 @@
>   #define CONFIG_SYS_I2C_SLAVE		0x0
>   #define CONFIG_SYS_I2C_SPEED		100000
>   
> -/* Environment in SPI NOR flash */
> -
> -#define CONFIG_SYS_NETA_INTERFACE_TYPE	PHY_INTERFACE_MODE_RGMII
> -
>   /* PCIe support */
>   #ifndef CONFIG_SPL_BUILD
>   #define CONFIG_PCI_SCAN_SHOW
>   #endif
>   
>   /* USB/EHCI/XHCI configuration */
> -
> -#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
> -
> -/* FIXME: broken XHCI support
> - * Below defines should enable support for the two rear USB3 ports. Sadly, this
> - * does not work because:
> - * - xhci-pci seems to not support DM_USB, so with that enabled it is not
> - *   found.
> - * - USB init fails, controller does not respond in time */
> -
> -#if !defined(CONFIG_USB_XHCI_HCD)
>   #define CONFIG_EHCI_IS_TDI
> -#endif
> -
> -/* why is this only defined in mv-common.h if CONFIG_DM is undefined? */
>   
>   /*
>    * mv-common.h should be defined after CMD configs since it used them
> @@ -95,4 +77,7 @@
>   #define CONFIG_BOOTCOMMAND	"sf read ${loadaddr} 0xd0000 0x700000; bootm"
>   #define CONFIG_LOADADDR		0x80000
>   
> +/* increase autoneg timeout, my NIC sucks */
> +#define PHY_ANEG_TIMEOUT	16000
> +
>   #endif /* _CONFIG_SYNOLOGY_DS414_H */
> 


Viele Gr??e,
Stefan

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de

  reply	other threads:[~2021-01-05 15:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-03 22:06 [PATCH 0/3] A minor DS414 update Phil Sutter
2021-01-03 22:06 ` [PATCH 1/3] arm: mvebu: ds414: Config header mini-review Phil Sutter
2021-01-05 15:55   ` Stefan Roese [this message]
2021-01-03 22:06 ` [PATCH 2/3] pci: Make auto-config code a little more robust Phil Sutter
2021-01-05 15:57   ` Stefan Roese
2021-01-07 12:36   ` Simon Glass
2021-01-03 22:06 ` [PATCH 3/3] pci: pci_mvebu: Define an IO region as well Phil Sutter
2021-01-05 15:59   ` 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=47dd052c-20f0-efd1-af5a-05890fe105fe@denx.de \
    --to=sr@denx.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.