[U-Boot] [PATCH 2/2] efi_loader: set the dhcp ack received flag
xypron.glpk at gmx.de
Mon Feb 4 17:28:09 UTC 2019
On 2/4/19 5:43 PM, Patrick Wildt wrote:
> On Thu, Jan 31, 2019 at 07:29:04PM +0100, Heinrich Schuchardt wrote:
>> On 1/31/19 3:54 PM, Patrick Wildt wrote:
>>> On Thu, Jan 31, 2019 at 03:31:34PM +0100, Alexander Graf wrote:
>>>> Is there any way to pass an object reference in as parameter that allows us
>>>> to find the exact efi net object back again? IIRC the network code was
>>>> pretty much single target, but maybe we don't have to encode that in every
>>>> single place ...
>>> I agree, but I have to say that I don't know the u-boot code enough to
>>> know that.
>> The current network device can be determined via eth_get_dev().
>> In function eth_current_changed() this eth_get_dev() function is used to
>> update the ethact environment variable.
>> If we have a single update function we can determine the active network
>> device there.
>> Best regards
> Looks like you know what to do.
> Best regards,
will you adjust the patch such that we have only a single update function?
More information about the U-Boot