aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2021-02-04 01:12:42 +0300
committerPatrick Georgi <pgeorgi@google.com>2021-02-09 07:46:55 +0000
commit60aef5f8b580195308a974585c74320c1c294a53 (patch)
tree586e1b11d9fc7f1888a2c2bc9cc3516b9958f1ff
parenteb26530e2c514ba0b1302dbbabe0954605d90539 (diff)
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 <me@ch1p.io> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50272 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--src/mainboard/apple/macbookair4_2/early_init.c28
1 files changed, 14 insertions, 14 deletions
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 <cbfs.h>
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)