From 60aef5f8b580195308a974585c74320c1c294a53 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Thu, 4 Feb 2021 01:12:42 +0300 Subject: mb/apple/macbookair4_2: Fix USB ports config Disable unused ports and add comments. Used 820-3023 board schematics as a source. Change-Id: I2862546ca6f6929a86e77fae7337368742bb9ba8 Signed-off-by: Evgeny Zinoviev Reviewed-on: https://review.coreboot.org/c/coreboot/+/50272 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/mainboard/apple/macbookair4_2/early_init.c | 28 +++++++++++++------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src') diff --git a/src/mainboard/apple/macbookair4_2/early_init.c b/src/mainboard/apple/macbookair4_2/early_init.c index a32298d536..7e2ec1be07 100644 --- a/src/mainboard/apple/macbookair4_2/early_init.c +++ b/src/mainboard/apple/macbookair4_2/early_init.c @@ -6,20 +6,20 @@ #include const struct southbridge_usb_port mainboard_usb_ports[] = { - { 1, 0, -1 }, - { 1, 0, -1 }, - { 1, 0, -1 }, - { 1, 0, -1 }, - { 1, 0, -1 }, - { 1, 0, -1 }, - { 1, 0, -1 }, - { 1, 0, -1 }, - { 1, 0, -1 }, - { 1, 0, -1 }, - { 1, 0, -1 }, - { 1, 0, -1 }, - { 1, 0, -1 }, - { 1, 0, -1 }, + { 1, 0, -1 }, /* USB HUB 1 */ + { 0, 0, -1 }, /* Unused */ + { 0, 0, -1 }, /* Unused */ + { 0, 0, -1 }, /* Unused */ + { 0, 0, -1 }, /* Unused */ + { 0, 0, -1 }, /* Unused */ + { 0, 0, -1 }, /* Unused */ + { 0, 0, -1 }, /* Unused */ + { 1, 0, -1 }, /* USB HUB 2 */ + { 1, 0, -1 }, /* Camera */ + { 0, 0, -1 }, /* Unused */ + { 0, 0, -1 }, /* Unused */ + { 0, 0, -1 }, /* Unused */ + { 0, 0, -1 }, /* Unused */ }; void mainboard_get_spd(spd_raw_data *spd, bool id_only) -- cgit v1.2.3