diff options
author | ZhengShunQian <zhengsq@rock-chips.com> | 2015-11-10 16:16:14 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-11-18 16:29:19 +0100 |
commit | 71c0aa29fa83219e76af70dd452b6b2e97e4dfbb (patch) | |
tree | 6231205c5ca7a0e240452a889e38fd66ac571783 /src/mainboard/google | |
parent | 7760a47892bfec559d11e14c075770e79b1293e1 (diff) | |
download | coreboot-71c0aa29fa83219e76af70dd452b6b2e97e4dfbb.tar.xz |
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@chromium.org>
Original-Commit-Id: 99b275c594196de0811f68380e66c226d2649927
Original-Change-Id: I1690a1f39090c57c64d4965092c80eef9070babf
Original-Signed-off-by: ZhengShunQian <zhengsq@rock-chips.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/311900
Original-Commit-Ready: Shunqian Zheng <zhengsq@rock-chips.com>
Original-Tested-by: Shunqian Zheng <zhengsq@rock-chips.com>
Original-Reviewed-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: http://review.coreboot.org/12452
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r-- | src/mainboard/google/veyron_emile/mainboard.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/google/veyron_emile/mainboard.c b/src/mainboard/google/veyron_emile/mainboard.c index 3a5513b1b7..87a7d7cd30 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) |