diff options
author | Tony Huang <tony-huang@quanta.corp-partner.google.com> | 2024-04-01 11:11:59 +0800 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2024-04-02 09:30:10 +0000 |
commit | 42cb9f3de0161870c452cb6740101419e39a524e (patch) | |
tree | 14e36bd5d12f2fea84ee562994b703b2789418b9 | |
parent | 45348cdf3930622c47381fa090602b1578d4c7e1 (diff) |
mb/google/rex/var/deku: Swap LAN device indices for correct MAC address
Deku has two Ethernet ports. Currently both get assigned the wrong
MAC address due to the LAN devices indices being swapped and
vpd ethernet_mac0() affects device eth1 and vpd ethernet_mac1() affects
device eth0.
Correct the device indices for LAN devices so ethernet_mac[0-1] in vpd
can apply to the correct ethernet ports.
BUG=b:320203629
BRANCH=firmware-rex-15709.B
TEST=vpd -s ethernet_mac0=<mac address0>
vpd -s ethernet_mac1=<mac address1>
reboot the system and check ifconfig
eth0 and eth1 MAC addresses are fetched correctly
Change-Id: Id1508104cbb5cf0a234f34f9db19cc535fdb634b
Signed-off-by: Tony Huang <tony-huang@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81564
Reviewed-by: Eric Lai <ericllai@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Derek Huang <derekhuang@google.com>
-rw-r--r-- | src/mainboard/google/rex/variants/deku/overridetree.cb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/rex/variants/deku/overridetree.cb b/src/mainboard/google/rex/variants/deku/overridetree.cb index 0a383eb9b1..ab0c6dcdb7 100644 --- a/src/mainboard/google/rex/variants/deku/overridetree.cb +++ b/src/mainboard/google/rex/variants/deku/overridetree.cb @@ -83,7 +83,7 @@ chip soc/intel/meteorlake chip drivers/net register "customized_leds" = "0x05af" register "wake" = "GPE0_DW0_01" # GPP_D01 - register "device_index" = "0" + register "device_index" = "1" register "add_acpi_dma_property" = "true" device pci 00.0 on end end @@ -98,7 +98,7 @@ chip soc/intel/meteorlake chip drivers/net register "customized_leds" = "0x05af" register "wake" = "GPE0_DW1_04" # GPP_E04 - register "device_index" = "1" + register "device_index" = "0" register "add_acpi_dma_property" = "true" device pci 00.0 on end end |