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
#include <
stdbool.h
>
6
7
const
struct
southbridge_usb_port
mainboard_usb_ports
[] = {
8
{ 1, 0, 0 },
9
{ 1, 0, 0 },
10
{ 1, 0, 1 },
11
{ 1, 0, 1 },
12
{ 1, 0, 2 },
13
{ 1, 0, 2 },
14
{ 1, 0, 3 },
15
{ 1, 0, 3 },
16
{ 1, 0, 4 },
17
{ 1, 0, 4 },
18
{ 1, 0, 6 },
19
{ 1, 0, 5 },
20
{ 1, 0, 5 },
21
{ 1, 0, 6 },
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], 0x52, id_only);
28
}
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
stdbool.h
southbridge_usb_port
Definition:
pch.h:56
src
mainboard
biostar
th61-itx
early_init.c
Generated by
1.9.1