coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
romstage.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
6 
8 {
17 }
18 
19 void mb_get_spd_map(struct spd_info *spdi)
20 {
21  spdi->addresses[0] = 0x50;
22  spdi->addresses[1] = 0x51;
23  spdi->addresses[2] = 0x52;
24  spdi->addresses[3] = 0x53;
25 }
26 
28  /* Length, Enable, OCn#, Location */
29  { 0x0040, 1, 0, USB_PORT_BACK_PANEL },
30  { 0x0040, 1, 0, USB_PORT_BACK_PANEL },
31  { 0x0040, 1, 1, USB_PORT_BACK_PANEL },
32  { 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_BACK_PANEL },
33  { 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_BACK_PANEL },
34  { 0x0040, 1, 2, USB_PORT_BACK_PANEL },
35  { 0x0040, 1, 3, USB_PORT_BACK_PANEL },
36  { 0x0040, 1, 3, USB_PORT_BACK_PANEL },
37  { 0x0040, 1, 4, USB_PORT_BACK_PANEL },
38  { 0x0040, 1, 4, USB_PORT_BACK_PANEL },
39  { 0x0040, 1, 5, USB_PORT_BACK_PANEL },
40  { 0x0040, 1, 5, USB_PORT_BACK_PANEL },
41  { 0x0040, 1, 6, USB_PORT_BACK_PANEL },
42  { 0x0040, 1, 6, USB_PORT_BACK_PANEL },
43 };
44 
46  { 1, 0 },
47  { 1, 0 },
48  { 1, 1 },
49  { 1, 1 },
50  { 1, 2 },
51  { 1, 2 },
52 };
#define PIRQH
Definition: irq.h:101
#define PIRQC
Definition: irq.h:96
#define PIRQA
Definition: irq.h:94
#define PIRQD
Definition: irq.h:97
#define PIRQB
Definition: irq.h:95
#define PIRQF
Definition: irq.h:99
#define PIRQE
Definition: irq.h:98
#define PIRQG
Definition: irq.h:100
const struct usb3_port_config mainboard_usb3_ports[MAX_USB3_PORTS]
Definition: romstage.c:45
void mainboard_config_rcba(void)
Definition: romstage.c:7
void mb_get_spd_map(struct spd_info *spdi)
Definition: romstage.c:19
const struct usb2_port_config mainboard_usb2_ports[MAX_USB2_PORTS]
Definition: romstage.c:27
#define USB_OC_PIN_SKIP
Definition: pei_data.h:27
#define MAX_USB3_PORTS
Definition: pei_data.h:26
@ USB_PORT_BACK_PANEL
Definition: pei_data.h:30
#define MAX_USB2_PORTS
Definition: pei_data.h:25
#define D20IR
Definition: rcba.h:96
#define D31IR
Definition: rcba.h:87
#define D26IR
Definition: rcba.h:92
#define D28IR
Definition: rcba.h:90
#define D22IR
Definition: rcba.h:95
#define D25IR
Definition: rcba.h:93
#define DIR_ROUTE(a, b, c, d)
Definition: rcba.h:116
#define D29IR
Definition: rcba.h:89
#define D27IR
Definition: rcba.h:91
#define RCBA16(x)
Definition: rcba.h:13
Definition: spd.h:11
uint8_t addresses[4]
Definition: raminit.h:11