[coreboot-gerrit] Patch set updated for coreboot: google/veyron_emile: retrieve the MAC address from vpd
Patrick Georgi (pgeorgi@google.com)
gerrit at coreboot.org
Mon Nov 16 11:20:21 CET 2015
Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/12452
-gerrit
commit 85fcea36da53a9702ac0afaeccd595f71e97cf3a
Author: ZhengShunQian <zhengsq at rock-chips.com>
Date: Tue Nov 10 16:16:14 2015 +0800
google/veyron_emile: retrieve the MAC address from vpd
Emile has a on board ethernet.
BUG=chrome-os-partner:47465
TEST=vpd -s ethernet_mac0=001122334455
build and check the MAC address
Change-Id: I90ed0ed1253c804568fcdd3dd212bb062a48c836
Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
Original-Commit-Id: 99b275c594196de0811f68380e66c226d2649927
Original-Change-Id: I1690a1f39090c57c64d4965092c80eef9070babf
Original-Signed-off-by: ZhengShunQian <zhengsq at rock-chips.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/311900
Original-Commit-Ready: Shunqian Zheng <zhengsq at rock-chips.com>
Original-Tested-by: Shunqian Zheng <zhengsq at rock-chips.com>
Original-Reviewed-by: David Hendricks <dhendrix at chromium.org>
---
src/mainboard/google/veyron_emile/mainboard.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/mainboard/google/veyron_emile/mainboard.c b/src/mainboard/google/veyron_emile/mainboard.c
index 3a5513b..87a7d7c 100644
--- a/src/mainboard/google/veyron_emile/mainboard.c
+++ b/src/mainboard/google/veyron_emile/mainboard.c
@@ -139,6 +139,11 @@ void lb_board(struct lb_header *header)
dma->size = sizeof(*dma);
dma->range_start = (uintptr_t)_dma_coherent;
dma->range_size = _dma_coherent_size;
+
+ if (IS_ENABLED(CONFIG_CHROMEOS)) {
+ /* Retrieve the MAC addr which would pass to DTS. */
+ lb_table_add_macs_from_vpd(header);
+ }
}
void mainboard_power_on_backlight(void)
More information about the coreboot-gerrit
mailing list