aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/asrock/z87m_oc_formula/romstage.c
blob: 44932e7229ea1c7da1b07546369599c5e6563f79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/* SPDX-License-Identifier: GPL-2.0-only */

#include <northbridge/intel/haswell/haswell.h>
#include <northbridge/intel/haswell/raminit.h>
#include <southbridge/intel/lynxpoint/pch.h>

void mainboard_config_rcba(void)
{
}

void mb_get_spd_map(struct spd_info *spdi)
{
	spdi->addresses[0] = 0x50;
	spdi->addresses[1] = 0x51;
	spdi->addresses[2] = 0x52;
	spdi->addresses[3] = 0x53;
}

const struct usb2_port_config mainboard_usb2_ports[MAX_USB2_PORTS] = {
	/* Length, Enable, OCn#, Location */
	{ 0x0040, 1, 0, USB_PORT_FLEX },
	{ 0x0040, 1, 0, USB_PORT_FLEX },
	{ 0x0040, 1, 1, USB_PORT_FLEX },
	{ 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_FLEX },
	{ 0x0040, 1, USB_OC_PIN_SKIP, USB_PORT_FLEX },
	{ 0x0040, 1, 2, USB_PORT_FLEX },
	{ 0x0040, 1, 3, USB_PORT_FLEX },
	{ 0x0040, 1, 3, USB_PORT_FLEX },
	{ 0x0040, 1, 4, USB_PORT_FLEX },
	{ 0x0040, 1, 4, USB_PORT_FLEX },
	{ 0x0040, 1, 5, USB_PORT_FLEX },
	{ 0x0040, 1, 5, USB_PORT_FLEX },
	{ 0x0040, 1, 6, USB_PORT_FLEX },
	{ 0x0040, 1, 6, USB_PORT_FLEX },
};

const struct usb3_port_config mainboard_usb3_ports[MAX_USB3_PORTS] = {
	{ 1, 0 },
	{ 1, 0 },
	{ 1, 1 },
	{ 1, 1 },
	{ 1, 2 },
	{ 1, 2 },
};