net: ti: am65-cpsw-nuss: Prepare to support non primary ext port
authorVignesh Raghavendra <vigneshr@ti.com>
Mon, 10 May 2021 14:36:09 +0000 (20:06 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Wed, 12 May 2021 11:06:38 +0000 (16:36 +0530)
commit8441d49e60e0095acb1c9574135966ceefec4147
tree305168893722aa3b2a503ffae6b942f0d2de23f2
parent9a92851c33e87bbf00e2cb11f16067b87032ed98
net: ti: am65-cpsw-nuss: Prepare to support non primary ext port

CPSW NUSS IP on K3 SoCs can have more than one external port (upto 8)
Therefore increase AM65_CPSW_CPSWNU_MAX_PORTS to 9 (8 ext + 1 Root port)
as preparation to allow any one of the 8 ports to be used as ethernet
interface in U-Boot.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
drivers/net/ti/am65-cpsw-nuss.c