efi_loader: efi_net: add EFI_IP4_CONFIG2_PROTOCOL
Add an implementation of the EFI_IP4_CONFIG2_PROTOCOL. The protocol is attached to the handle of the efi network device. This is the same handle where snp and pxe are attached to. Signed-off-by: Adriano Cordova <adrianox@gmail.com>
This commit is contained in:
committed by
Simon Glass
parent
780dd6759b
commit
2c8e60f744
@@ -469,6 +469,15 @@ config EFI_RISCV_BOOT_PROTOCOL
|
||||
replace the transfer via the device-tree. The latter is not
|
||||
possible on systems using ACPI.
|
||||
|
||||
config EFI_IP4_CONFIG2_PROTOCOL
|
||||
bool "EFI_IP4_CONFIG2_PROTOCOL support"
|
||||
default y if ARCH_QEMU || SANDBOX
|
||||
depends on NET || NET_LWIP
|
||||
help
|
||||
Provides an implementation of the EFI_IP4_CONFIG2_PROTOCOL, this
|
||||
protocol can be used to set and get the current ip address and
|
||||
other network information.
|
||||
|
||||
endmenu
|
||||
|
||||
menu "Misc options"
|
||||
|
||||
Reference in New Issue
Block a user