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
3
#include <
northbridge/intel/sandybridge/raminit_native.h
>
4
#include <
southbridge/intel/bd82x6x/pch.h
>
5
6
const
struct
southbridge_usb_port
mainboard_usb_ports
[] = {
7
{1, 3, 0},
/* SSP1: Right */
8
{1, 3, 1},
/* SSP2: Left, EHCI Debug */
9
{0, 1, 3},
/* SSP3 */
10
{1, 3, -1},
/* B0P4: WWAN USB */
11
{0, 1, 2},
/* B0P5 */
12
{0, 1, -1},
/* B0P6 */
13
{0, 1, -1},
/* B0P7 */
14
{0, 1, -1},
/* B0P8 */
15
{0, 1, -1},
/* B1P1 */
16
{0, 1, 5},
/* B1P2 */
17
{1, 1, -1},
/* B1P3: Fingerprint Reader */
18
{0, 1, -1},
/* B1P4 */
19
{1, 3, -1},
/* B1P5: WLAN USB */
20
{1, 1, -1},
/* B1P6: Camera */
21
};
22
23
void
mainboard_get_spd
(
spd_raw_data
*spd,
bool
id_only)
24
{
25
read_spd
(&spd[0], 0x50, id_only);
26
}
spd_raw_data
u8 spd_raw_data[256]
Definition:
ddr3.h:156
mainboard_get_spd
void mainboard_get_spd(spd_raw_data *spd, bool id_only)
Definition:
early_init.c:25
mainboard_usb_ports
const struct southbridge_usb_port mainboard_usb_ports[]
Definition:
early_init.c:8
read_spd
void read_spd(spd_raw_data *spd, u8 addr, bool id_only)
Definition:
raminit.c:138
raminit_native.h
pch.h
southbridge_usb_port
Definition:
pch.h:56
src
mainboard
lenovo
x230
variants
x230s
early_init.c
Generated by
1.9.1