Add logic to sync/preserve MAC and UUID

The MAC and UUID values are written in the VPD eeprom by the manufacturer.
These values are mirrored to u-boot. During BMC boot, check that the
values in the VPD eeprom and u-boot are the same. If they are different,
use the VPD eeprom value to update u-boot.
Exception is the MAC when it's been set by the admin to have a locally
administered address. In this case the MAC is not updated.
Updating the MAC takes effect immediately, updating the UUID requires a
BMC reboot.

Change-Id: Ied0f308ed06cd6a45bd618bbb307b2483c6b5b61
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
3 files changed