mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
initialize net_mode.if_type
if_type is not correctly initialized Failure to initialize if_type means that grub2/efinet sends a bogus arp request. It therefore gets no response. On Raspberry Pi 3B+ this leads to a pause at: lan78xx_eth Waiting for PHY auto negotiation to complete....... done lan78xx_eth Waiting for PHY auto negotiation to complete....... done Signed-off-by: Andrew Thomas <andrew.thomas@oracle.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
parent
6ab1283092
commit
f25ddca16c
1 changed files with 1 additions and 0 deletions
|
|
@ -361,6 +361,7 @@ efi_status_t efi_net_register(void)
|
|||
memcpy(netobj->net_mode.current_address.mac_addr, eth_get_ethaddr(), 6);
|
||||
netobj->net_mode.hwaddr_size = ARP_HLEN;
|
||||
netobj->net_mode.max_packet_size = PKTSIZE;
|
||||
netobj->net_mode.if_type = ARP_ETHER;
|
||||
|
||||
netobj->pxe.mode = &netobj->pxe_mode;
|
||||
if (dhcp_ack)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue