Searched refs:env_enetaddr (Results 1 – 6 of 6) sorted by relevance
/openbmc/u-boot/board/bluewater/gurnard/ |
H A D | gurnard.c | 360 u_int8_t env_enetaddr[8]; in board_late_init() local 374 env_enetaddr[i] = env_str ? in board_late_init() 381 writel(env_enetaddr[0] | env_enetaddr[1] << 8 | in board_late_init() 382 env_enetaddr[2] << 16 | env_enetaddr[3] << 24, in board_late_init() 384 writel((env_enetaddr[4] | env_enetaddr[5] << 8), &emac->sa2h); in board_late_init()
|
/openbmc/u-boot/arch/arm/mach-davinci/ |
H A D | misc.c | 90 uint8_t env_enetaddr[6]; in davinci_sync_env_enetaddr() local 93 ret = eth_env_get_enetaddr_by_index("eth", 0, env_enetaddr); in davinci_sync_env_enetaddr() 101 env_enetaddr); in davinci_sync_env_enetaddr()
|
/openbmc/u-boot/net/ |
H A D | eth_legacy.c | 136 unsigned char env_enetaddr[ARP_HLEN]; in eth_write_hwaddr() local 139 eth_env_get_enetaddr_by_index(base_name, eth_number, env_enetaddr); in eth_write_hwaddr() 141 if (!is_zero_ethaddr(env_enetaddr)) { in eth_write_hwaddr() 143 memcmp(dev->enetaddr, env_enetaddr, ARP_HLEN)) { in eth_write_hwaddr() 149 env_enetaddr); in eth_write_hwaddr() 152 memcpy(dev->enetaddr, env_enetaddr, ARP_HLEN); in eth_write_hwaddr()
|
H A D | eth-uclass.c | 467 unsigned char env_enetaddr[ARP_HLEN]; in eth_post_probe() local 501 eth_env_get_enetaddr_by_index("eth", dev->seq, env_enetaddr); in eth_post_probe() 502 if (!is_zero_ethaddr(env_enetaddr)) { in eth_post_probe() 504 memcmp(pdata->enetaddr, env_enetaddr, ARP_HLEN)) { in eth_post_probe() 510 env_enetaddr); in eth_post_probe() 514 memcpy(pdata->enetaddr, env_enetaddr, ARP_HLEN); in eth_post_probe()
|
/openbmc/u-boot/board/davinci/da8xxevm/ |
H A D | da850evm.c | 160 uchar env_enetaddr[6]; in misc_init_r() local 163 enetaddr_found = eth_env_get_enetaddr("ethaddr", env_enetaddr); in misc_init_r() 197 memcmp(env_enetaddr, buff, 6)) in misc_init_r() 224 if (eeprom_mac_read && memcmp(enetaddr, env_enetaddr, 6)) in misc_init_r()
|
/openbmc/u-boot/drivers/net/fsl-mc/ |
H A D | mc.c | 173 unsigned char env_enetaddr[ARP_HLEN]; in mc_fixup_mac_addr() local 196 env_enetaddr)) in mc_fixup_mac_addr()
|