summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Wu <david_wu@quantatw.com>2018-04-10 20:04:08 +0800
committerPatrick Georgi <pgeorgi@google.com>2018-05-15 11:15:05 +0000
commitbb0d839b6895698367d3eab31cfa01f12376ddb2 (patch)
treeadade2c0bca71a0d1fd3fd79017665e6a1c831d3
parent9a0d9e072fdb4994de7c46e50dace126fe6ce6a0 (diff)
downloadcoreboot-bb0d839b6895698367d3eab31cfa01f12376ddb2.tar.gz
coreboot-bb0d839b6895698367d3eab31cfa01f12376ddb2.tar.bz2
coreboot-bb0d839b6895698367d3eab31cfa01f12376ddb2.zip
mb/google/fizz: Add device index for dual LAN sku
Fix dual LAN sku can't inherit correct MAC from VPD setting. BUG=b:77836343 BRANCH=Fizz TEST=Program the mac address to VPD in shell vpd -s ethernet_mac0=<mac address1> vpd -s ethernet_mac1=<mac address2> && reboot the system. Ensure the MAC address was fetched correctly by ifconfig command. Change-Id: Ic357a3f1435d6d08107520e40872f1003ef2edf3 Signed-off-by: David Wu <david_wu@quantatw.com> Reviewed-on: https://review.coreboot.org/25587 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/fizz/devicetree.cb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/fizz/devicetree.cb b/src/mainboard/google/fizz/devicetree.cb
index 9d120ea9cf66..db46bf8c9083 100644
--- a/src/mainboard/google/fizz/devicetree.cb
+++ b/src/mainboard/google/fizz/devicetree.cb
@@ -354,6 +354,7 @@ chip soc/intel/skylake
chip drivers/net
register "customized_leds" = "0x0fa5"
register "wake" = "GPE0_PCI_EXP"
+ register "device_index" = "1"
device pci 00.0 on end
end
end # PCI Express Port 1
@@ -373,6 +374,7 @@ chip soc/intel/skylake
device pci 1d.0 on # PCI Express Port 9 for 2nd LAN
chip drivers/net
register "customized_leds" = "0x0fa5"
+ register "device_index" = "2"
device pci 00.0 on end
end
end # PCI Express Port 9 for BtoB