Lines Matching refs:mac_addr
370 uint8_t mac_addr[6]; in board_eth_init() local
376 mac_addr[0] = 0; in board_eth_init()
377 mac_addr[1] = 0x20; in board_eth_init()
378 mac_addr[2] = 0x18; in board_eth_init()
379 mac_addr[3] = 0x1C; in board_eth_init()
380 mac_addr[4] = 0x00; in board_eth_init()
381 mac_addr[5] = 0x01; in board_eth_init()
386 is_valid_ethaddr((const u8 *)&header.mac_addr[0][0])) { in board_eth_init()
387 memcpy(mac_addr, (const void *)&header.mac_addr[0][0], 6); in board_eth_init()
397 if (is_valid_ethaddr(mac_addr)) in board_eth_init()
398 eth_env_set_enetaddr("ethaddr", mac_addr); in board_eth_init()