Merge tag 'u-boot-imx-20190101' of git://www.denx.de/git/u-boot-imx
[oweals/u-boot.git] / drivers / net / phy / Kconfig
index 179e0418bca73f683929f1f5257e2e0ddc34bb2e..3dc0822d9c21cfa83591be5791fcdd7a5066a7c6 100644 (file)
@@ -13,12 +13,20 @@ menuconfig PHYLIB
 
 if PHYLIB
 
+config PHY_ADDR_ENABLE
+       bool "Limit phy address"
+       default y if ARCH_SUNXI
+       help
+         Select this if you want to control which phy address is used
+
+if PHY_ADDR_ENABLE
 config PHY_ADDR
        int "PHY address"
        default 1 if ARCH_SUNXI
        default 0
        help
          The address of PHY on MII bus. Usually in range of 0 to 31.
+endif
 
 config B53_SWITCH
        bool "Broadcom BCM53xx (RoboSwitch) Ethernet switch PHY support."
@@ -56,8 +64,32 @@ endif # MV88E61XX_SWITCH
 config PHYLIB_10G
        bool "Generic 10G PHY support"
 
-config PHY_AQUANTIA
+menuconfig PHY_AQUANTIA
        bool "Aquantia Ethernet PHYs support"
+       select PHY_GIGE
+       select PHYLIB_10G
+
+config PHY_AQUANTIA_UPLOAD_FW
+       bool "Aquantia firmware loading support"
+       default n
+       depends on PHY_AQUANTIA
+       help
+               Aquantia PHYs use firmware which can be either loaded automatically
+               from storage directly attached to the phy or loaded by the boot loader
+               via MDIO commands.  The firmware is loaded from a file, specified by
+               the PHY_AQUANTIA_FW_PART and PHY_AQUANTIA_FW_NAME options.
+
+config PHY_AQUANTIA_FW_PART
+       string "Aquantia firmware partition"
+       depends on PHY_AQUANTIA_UPLOAD_FW
+       help
+               Partition containing the firmware file.
+
+config PHY_AQUANTIA_FW_NAME
+       string "Aquantia firmware filename"
+       depends on PHY_AQUANTIA_UPLOAD_FW
+       help
+               Firmware filename.
 
 config PHY_ATHEROS
        bool "Atheros Ethernet PHYs support"