mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-23 19:43:33 +00:00
38922b1f4a
On certain TI SoC, like AM64x there is a CPSW3G which supports 2 external independent MAC ports for single CPSW instance. It is not possible for Ethernet driver to register more than one port for given instance. This patch modifies top level CPSW NUSS as UCLASS_MISC and binds UCLASS_ETH to individual ports so as to support bring up more than one Ethernet interface in U-Boot. Note that there is no isolation in the since, CPSW NUSS is in promisc mode and forwards all packets to host. Since top level driver is now UCLASS_MISC, board files would need to instantiate this driver explicitly. Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
36 lines
899 B
Text
36 lines
899 B
Text
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
|
|
|
|
config DRIVER_TI_CPSW
|
|
bool "TI Common Platform Ethernet Switch"
|
|
select PHYLIB
|
|
help
|
|
This driver supports the TI three port switch gigabit ethernet
|
|
subsystem found in the TI SoCs.
|
|
|
|
config DRIVER_TI_EMAC
|
|
bool "TI Davinci EMAC"
|
|
help
|
|
Support for davinci emac
|
|
|
|
config DRIVER_TI_EMAC_USE_RMII
|
|
depends on DRIVER_TI_EMAC
|
|
bool "Use RMII"
|
|
help
|
|
Configure the TI EMAC driver to use RMII
|
|
|
|
config DRIVER_TI_KEYSTONE_NET
|
|
bool "TI Keystone 2 Ethernet"
|
|
help
|
|
This driver supports the TI Keystone 2 Ethernet subsystem
|
|
|
|
config TI_AM65_CPSW_NUSS
|
|
bool "TI K3 AM65x MCU CPSW Nuss Ethernet controller driver"
|
|
depends on ARCH_K3
|
|
imply MISC_INIT_R
|
|
imply MISC
|
|
select PHYLIB
|
|
help
|
|
This driver supports TI K3 MCU CPSW Nuss Ethernet controller
|
|
in Texas Instruments K3 AM65x SoCs.
|