2020-10-30 12:50:02

by Grygorii Strashko

[permalink] [raw]
Subject: [PATCH v2] ARM: multi_v7_defconfig: ti: Enable networking options for nfs boot

Enable networking options required for NFS boot on TI platforms, which is
widely for automated test systems.
- enable new TI CPSW switch driver and related NET_SWITCHDEV config
- enable TI DP83867 phy
- explicitly enable PTP clock support to ensure dependent networking
drivers will stay built-in.

vmlinux size changes:
- before:
text data bss dec hex filename
14703736 8024602 444976 23173314 16198c2 ./omap-arm/vmlinux

- after:
text data bss dec hex filename
14727271 8029150 444528 23200949 16204b5 ./omap-arm/vmlinux

diff: 27635 (dec)

Cc: Tony Lindgren <[email protected]>
Signed-off-by: Grygorii Strashko <[email protected]>
Reviewed-by: Nishanth Menon <[email protected]>
---

changes in v2:
- rebased on top of 5.10-rc1
- commit mesage updated

arch/arm/configs/multi_v7_defconfig | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index e731cdf7c88c..32aaec92736b 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -154,6 +154,7 @@ CONFIG_INET6_IPCOMP=m
CONFIG_IPV6_MIP6=m
CONFIG_IPV6_TUNNEL=m
CONFIG_IPV6_MULTIPLE_TABLES=y
+CONFIG_NET_SWITCHDEV=y
CONFIG_NET_DSA=m
CONFIG_CAN=y
CONFIG_CAN_AT91=m
@@ -270,9 +271,12 @@ CONFIG_SNI_AVE=y
CONFIG_STMMAC_ETH=y
CONFIG_DWMAC_DWC_QOS_ETH=y
CONFIG_TI_CPSW=y
+CONFIG_TI_CPSW_SWITCHDEV=y
+CONFIG_TI_CPTS=y
CONFIG_XILINX_EMACLITE=y
CONFIG_BROADCOM_PHY=y
CONFIG_ICPLUS_PHY=y
+CONFIG_DP83867_PHY=y
CONFIG_MARVELL_PHY=y
CONFIG_MICREL_PHY=y
CONFIG_AT803X_PHY=y
@@ -436,6 +440,7 @@ CONFIG_SPI_TEGRA20_SLINK=y
CONFIG_SPI_XILINX=y
CONFIG_SPI_SPIDEV=y
CONFIG_SPMI=y
+CONFIG_PTP_1588_CLOCK=y
CONFIG_PINCTRL_AS3722=y
CONFIG_PINCTRL_RZA2=y
CONFIG_PINCTRL_STMFX=y
--
2.17.1


2020-11-16 09:07:53

by Tony Lindgren

[permalink] [raw]
Subject: Re: [PATCH v2] ARM: multi_v7_defconfig: ti: Enable networking options for nfs boot

* Grygorii Strashko <[email protected]> [201030 14:47]:
> Enable networking options required for NFS boot on TI platforms, which is
> widely for automated test systems.
> - enable new TI CPSW switch driver and related NET_SWITCHDEV config
> - enable TI DP83867 phy
> - explicitly enable PTP clock support to ensure dependent networking
> drivers will stay built-in.
>
> vmlinux size changes:
> - before:
> text data bss dec hex filename
> 14703736 8024602 444976 23173314 16198c2 ./omap-arm/vmlinux
>
> - after:
> text data bss dec hex filename
> 14727271 8029150 444528 23200949 16204b5 ./omap-arm/vmlinux
>
> diff: 27635 (dec)

Thanks applying into omap-for-v5.11/defconfig.

Tony

2020-11-23 17:30:47

by Tony Lindgren

[permalink] [raw]
Subject: Re: [PATCH v2] ARM: multi_v7_defconfig: ti: Enable networking options for nfs boot

* Arnd Bergmann <[email protected]> [201123 16:55]:
> On Mon, Nov 16, 2020 at 10:04 AM Tony Lindgren <[email protected]> wrote:
> >
> > * Grygorii Strashko <[email protected]> [201030 14:47]:
> > > Enable networking options required for NFS boot on TI platforms, which is
> > > widely for automated test systems.
> > > - enable new TI CPSW switch driver and related NET_SWITCHDEV config
> > > - enable TI DP83867 phy
> > > - explicitly enable PTP clock support to ensure dependent networking
> > > drivers will stay built-in.
> > >
> > > vmlinux size changes:
> > > - before:
> > > text data bss dec hex filename
> > > 14703736 8024602 444976 23173314 16198c2 ./omap-arm/vmlinux
> > >
> > > - after:
> > > text data bss dec hex filename
> > > 14727271 8029150 444528 23200949 16204b5 ./omap-arm/vmlinux
> > >
> > > diff: 27635 (dec)
> >
> > Thanks applying into omap-for-v5.11/defconfig.
>
> Oops, I just applied it as well (as it was sent to [email protected] it appeared
> in patchwork) and I noticed too late that you already had it.
> Should I remove it at my end, can you just drop your copy?

Sure no problem, I'll drop my copy.

Regards,

Tony