mb/google/nissa/var/anraggar: Change code style for register usb2_ports
Change code style to be compatible with Nissa's format: register "option" = "{ [0] = value /* comment */ ... }" to register "option[0]" = "value" /* comment */ BUG=none TEST=abuild -v -a -x -c max -p none -t google/brya -b anraggar Change-Id: I60659bd44813173f9b984216473a0919c5f331b8 Signed-off-by: Weimin Wu <wuweimin@huaqin.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/79376 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com>
This commit is contained in:
@@ -408,16 +408,14 @@ chip soc/intel/alderlake
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
device ref xhci on
|
device ref xhci on
|
||||||
register "usb2_ports" = "{
|
register "usb2_ports[0]" = "USB2_PORT_TYPE_C(OC_SKIP)" # Type-C MB (7.5 inch)
|
||||||
[0] = USB2_PORT_TYPE_C(OC_SKIP), /* Type-C MB (7.5 inch) */
|
register "usb2_ports[1]" = "USB2_PORT_TYPE_C(OC_SKIP)" # Type-C DB (7.1 inch)
|
||||||
[1] = USB2_PORT_TYPE_C(OC_SKIP), /* Type-C DB (7.1 inch) */
|
register "usb2_ports[2]" = "USB2_PORT_MID(OC_SKIP)" # Type-A MB (6.4 inch)
|
||||||
[2] = USB2_PORT_MID(OC_SKIP), /* Type-A MB (6.4 inch) */
|
register "usb2_ports[3]" = "USB2_PORT_MID(OC_SKIP)" # Type-A DB (6.2 inch)
|
||||||
[3] = USB2_PORT_MID(OC_SKIP), /* Type-A DB (6.2 inch) */
|
register "usb2_ports[4]" = "USB2_PORT_SHORT(OC_SKIP)" # LTE (3.3 inch)
|
||||||
[4] = USB2_PORT_SHORT(OC_SKIP), /* LTE (3.3 inch) */
|
register "usb2_ports[5]" = "USB2_PORT_SHORT(OC_SKIP)" # UFC (3.7 inch)
|
||||||
[5] = USB2_PORT_SHORT(OC_SKIP), /* UFC (3.7 inch) */
|
register "usb2_ports[7]" = "USB2_PORT_SHORT(OC_SKIP)" # Bluetooth port for PCIe WLAN (2.5 inch)
|
||||||
[7] = USB2_PORT_SHORT(OC_SKIP), /* Bluetooth port for PCIe WLAN (2.5 inch) */
|
register "usb2_ports[9]" = "USB2_PORT_SHORT(OC_SKIP)" # Bluetooth port for CNVi WLAN
|
||||||
[9] = USB2_PORT_SHORT(OC_SKIP), /* Bluetooth port for CNVi WLAN */
|
|
||||||
}"
|
|
||||||
chip drivers/usb/acpi
|
chip drivers/usb/acpi
|
||||||
device ref xhci_root_hub on
|
device ref xhci_root_hub on
|
||||||
chip drivers/usb/acpi
|
chip drivers/usb/acpi
|
||||||
|
Reference in New Issue
Block a user