- Copy base MAC address from bootinfo descriptor to sysinfo struct

Reviewed by:	Andrew Duane
This commit is contained in:
Oleksandr Tymoshenko 2011-11-28 19:28:29 +00:00
parent 649ab1659d
commit ba3ba72812

View File

@ -569,6 +569,8 @@ octeon_process_app_desc_ver_6(void)
octeon_bootinfo->board_rev_major,
octeon_bootinfo->board_rev_minor,
octeon_bootinfo->eclock_hz);
memcpy(cvmx_sysinfo_get()->mac_addr_base, octeon_bootinfo->mac_addr_base, 6);
cvmx_sysinfo_get()->mac_addr_count = octeon_bootinfo->mac_addr_count;
}
static void