coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
early_init.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
6 
8  { 1, 0, 0 }, /* P0 (left, fan side), OC 0 */
9  { 1, 0, 1 }, /* P1 (left touchpad side), OC 1 */
10  { 1, 1, 3 }, /* P2: dock, OC 3 */
11  { 1, 1, -1 }, /* P3: wwan, no OC */
12  { 1, 1, -1 }, /* P4: Wacom tablet on X230t, otherwise empty */
13  { 1, 1, -1 }, /* P5: Expresscard, no OC */
14  { 0, 0, -1 }, /* P6: Empty */
15  { 1, 2, -1 }, /* P7: dock, no OC */
16  { 1, 0, -1 },
17  { 1, 2, 5 }, /* P9: Right (EHCI debug), OC 5 */
18  { 1, 1, -1 }, /* P10: fingerprint reader, no OC */
19  { 1, 1, -1 }, /* P11: bluetooth, no OC. */
20  { 1, 1, -1 }, /* P12: wlan, no OC */
21  { 1, 1, -1 }, /* P13: webcam, no OC */
22 };
23 
24 void mainboard_get_spd(spd_raw_data *spd, bool id_only)
25 {
26  read_spd (&spd[0], 0x50, id_only);
27  read_spd (&spd[2], 0x51, id_only);
28 }
u8 spd_raw_data[256]
Definition: ddr3.h:156
void mainboard_get_spd(spd_raw_data *spd, bool id_only)
Definition: early_init.c:25
const struct southbridge_usb_port mainboard_usb_ports[]
Definition: early_init.c:8
void read_spd(spd_raw_data *spd, u8 addr, bool id_only)
Definition: raminit.c:138