net: ethernet: ti: am65-cpsw: move ale selection in pdata
authorGrygorii Strashko <grygorii.strashko@ti.com>
Fri, 30 Oct 2020 20:06:58 +0000 (22:06 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 3 Nov 2020 00:41:07 +0000 (16:41 -0800)
commit7747d4b72f7702b2f19b9f91cc783eb38a2028bf
tree01f6f39ecfcd5244ba9e3d0f797f7833bc8058ed
parent2c4de211bc315fe6270aefe6478cbcbe5928f5e8
net: ethernet: ti: am65-cpsw: move ale selection in pdata

In preparation of adding more multi-port K3 CPSW versions move ALE
selection in am65_cpsw_pdata, so it can be selected basing on DT
compatibility property.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/ti/am65-cpsw-nuss.c
drivers/net/ethernet/ti/am65-cpsw-nuss.h