mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
fw_loader: Introduce SUPPORTS_FW_LOADER symbol
The implementation of FW_LOADER requires CMDLINE to be enabled, and expressses this. In order to not have to have every users also depends on CMDLINE introduce SUPPORTS_FW_LOADER. This depends on CMDLINE and ENV_SUPPORT and then we have all users depends on SUPPORTS_FW_LOADER. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -91,6 +91,7 @@ menuconfig PHY_AQUANTIA
|
|||||||
config PHY_AQUANTIA_UPLOAD_FW
|
config PHY_AQUANTIA_UPLOAD_FW
|
||||||
bool "Aquantia firmware loading support"
|
bool "Aquantia firmware loading support"
|
||||||
depends on PHY_AQUANTIA
|
depends on PHY_AQUANTIA
|
||||||
|
depends on SUPPORTS_FW_LOADER
|
||||||
select FW_LOADER
|
select FW_LOADER
|
||||||
help
|
help
|
||||||
Aquantia PHYs use firmware which can be either loaded automatically
|
Aquantia PHYs use firmware which can be either loaded automatically
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ menuconfig PHY_AIROHA
|
|||||||
config PHY_AIROHA_EN8811
|
config PHY_AIROHA_EN8811
|
||||||
bool "Airoha Ethernet EN8811H support"
|
bool "Airoha Ethernet EN8811H support"
|
||||||
depends on PHY_AIROHA
|
depends on PHY_AIROHA
|
||||||
|
depends on SUPPORTS_FW_LOADER
|
||||||
select FW_LOADER
|
select FW_LOADER
|
||||||
help
|
help
|
||||||
AIROHA EN8811H supported.
|
AIROHA EN8811H supported.
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ config MTK_NET_PHYLIB
|
|||||||
config PHY_MEDIATEK_2P5GE
|
config PHY_MEDIATEK_2P5GE
|
||||||
bool "MediaTek built-in 2.5Gb ethernet PHYs"
|
bool "MediaTek built-in 2.5Gb ethernet PHYs"
|
||||||
depends on OF_CONTROL && (TARGET_MT7987 || TARGET_MT7988)
|
depends on OF_CONTROL && (TARGET_MT7987 || TARGET_MT7988)
|
||||||
|
depends on SUPPORTS_FW_LOADER
|
||||||
select FW_LOADER
|
select FW_LOADER
|
||||||
select MTK_NET_PHYLIB
|
select MTK_NET_PHYLIB
|
||||||
help
|
help
|
||||||
|
|||||||
@@ -71,10 +71,14 @@ config DYNAMIC_CRC_TABLE
|
|||||||
Enable this option to calculate entries for CRC tables at runtime.
|
Enable this option to calculate entries for CRC tables at runtime.
|
||||||
This can be helpful when reducing the size of the build image
|
This can be helpful when reducing the size of the build image
|
||||||
|
|
||||||
config FW_LOADER
|
config SUPPORTS_FW_LOADER
|
||||||
bool "Enable firmware loader using environment script"
|
bool
|
||||||
depends on CMDLINE
|
depends on CMDLINE
|
||||||
depends on ENV_SUPPORT
|
depends on ENV_SUPPORT
|
||||||
|
|
||||||
|
config FW_LOADER
|
||||||
|
bool "Enable firmware loader using environment script"
|
||||||
|
depends on SUPPORTS_FW_LOADER
|
||||||
help
|
help
|
||||||
Enable this option to make firmware loading using user-provided
|
Enable this option to make firmware loading using user-provided
|
||||||
U-Boot environment script functionality accessible to U-Boot code.
|
U-Boot environment script functionality accessible to U-Boot code.
|
||||||
|
|||||||
Reference in New Issue
Block a user