Matt DeVillier has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/52517 )
Change subject: mb/google/{beltino,jecht}: allow LAN MAC to be read from VPD w/o ChromeOS ......................................................................
mb/google/{beltino,jecht}: allow LAN MAC to be read from VPD w/o ChromeOS
Condition use of RO_VPD for LAN MAC address on CONFIG_VPD rather than CONFIG_CHROMEOS.
Change-Id: I1606fe1936ccee6e03dee145901767c8e73bfe2d Signed-off-by: Matt DeVillier matt.devillier@gmail.com --- M src/mainboard/google/beltino/lan.c M src/mainboard/google/jecht/lan.c 2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/52517/1
diff --git a/src/mainboard/google/beltino/lan.c b/src/mainboard/google/beltino/lan.c index d9df5a1..1104ea7 100644 --- a/src/mainboard/google/beltino/lan.c +++ b/src/mainboard/google/beltino/lan.c @@ -100,7 +100,7 @@ u32 high_dword = 0xD0BA00A0; /* high dword of mac address */ u32 low_dword = 0x0000AD0B; /* low word of mac address as a dword */
- if (CONFIG(CHROMEOS)) { + if (CONFIG(VPD)) { struct region_device rdev;
if (fmap_locate_area_as_rdev("RO_VPD", &rdev) == 0) { diff --git a/src/mainboard/google/jecht/lan.c b/src/mainboard/google/jecht/lan.c index 4dedb56..a431393 100644 --- a/src/mainboard/google/jecht/lan.c +++ b/src/mainboard/google/jecht/lan.c @@ -100,7 +100,7 @@ u32 high_dword = 0xD0BA00A0; /* high dword of mac address */ u32 low_dword = 0x0000AD0B; /* low word of mac address as a dword */
- if (CONFIG(CHROMEOS)) { + if (CONFIG(VPD)) { struct region_device rdev;
if (fmap_locate_area_as_rdev("RO_VPD", &rdev) == 0) {