# Copyright (c) 2021-2022 Amlogic, Inc. All rights reserved.

# SPDX-License-Identifier: MIT

menu "Ethernet Support"

config ETHERNET
	bool "Ethernet Driver"
	help
	  Enable Ethernet Driver.

config ETHERNET_CFG
	bool "Enable eth_cfg.h file"
	help
	  Enable eth_cfg.h file.

config ETHERNET_MAC
	bool "Enable MAC Driver"
	depends on ETHERNET
	select HWCRYPTO if SOC_S6
	help
	  Enable MAC Driver.

config ETHERNET_PHY
	bool "Enable Phy Driver"
	depends on ETHERNET_MAC
	help
	  Enable Phy Driver.

config ETHERNET_MAGIC_PACKET
	bool "Enable Magic Packet Driver"
	depends on ETHERNET_MAC
	help
	  Enable Magic Packet Driver.

choice
	prompt "Phy Type Select"
	depends on ETHERNET_PHY
	default ETHERNET_INTERNAL_PHY
	help
	  Select the phy type you want to use.

config ETHERNET_INTERNAL_PHY
	bool "Internal Phy"
	help
	  Select internal phy.

config ETHERNET_EXTERNAL_PHY
	bool "External Phy"
	help
	  Select external phy.

endchoice

endmenu
