[coreboot-gerrit] Change in coreboot[master]: mb/google/fizz: Enable 2nd NIC leds

David Wu (Code Review) gerrit at coreboot.org
Mon Dec 11 07:44:33 CET 2017


David Wu has uploaded this change for review. ( https://review.coreboot.org/22817


Change subject: mb/google/fizz: Enable 2nd NIC leds
......................................................................

mb/google/fizz: Enable 2nd NIC leds

This patch enables customized NIC leds as follows:

	Green	Orange (Amber)
100M	off	blinking
1000M	on	blinking

BUG=b:69950854
TEST=Make sure the registers are programmed as expected and observe the
     LEDs are behaving as expected. Perform suspend/resume test and the
     LEDs are still working as expected.

Change-Id: Ic70587a0cd688e74b5e1ce532c5da954c80cf841
Signed-off-by: David Wu <david_wu at quantatw.com>
---
M src/mainboard/google/fizz/devicetree.cb
1 file changed, 6 insertions(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/22817/1

diff --git a/src/mainboard/google/fizz/devicetree.cb b/src/mainboard/google/fizz/devicetree.cb
index 55d59fe..194a2e5 100644
--- a/src/mainboard/google/fizz/devicetree.cb
+++ b/src/mainboard/google/fizz/devicetree.cb
@@ -308,7 +308,12 @@
 		device pci 1c.5 off end # PCI Express Port 6
 		device pci 1c.6 off end # PCI Express Port 7
 		device pci 1c.7 off end # PCI Express Port 8
-		device pci 1d.0 on end # PCI Express Port 9 for BtoB
+		device pci 1d.0 on # PCI Express Port 9 for 2nd LAN
+			chip drivers/net
+				register "customized_leds" = "0x0fa7"
+				device pci 00.0 on end
+			end
+		end # PCI Express Port 9 for BtoB
 		device pci 1d.1 off end # PCI Express Port 10
 		device pci 1d.2 off end # PCI Express Port 11
 		device pci 1d.3 off end # PCI Express Port 12

-- 
To view, visit https://review.coreboot.org/22817
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic70587a0cd688e74b5e1ce532c5da954c80cf841
Gerrit-Change-Number: 22817
Gerrit-PatchSet: 1
Gerrit-Owner: David Wu <david_wu at quantatw.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171211/5aa1f9e0/attachment.html>


More information about the coreboot-gerrit mailing list