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>
This commit is contained in:
David Wu 2018-04-10 20:04:08 +08:00 committed by Patrick Georgi
parent 9a0d9e072f
commit bb0d839b68
1 changed files with 2 additions and 0 deletions

View File

@ -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