coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
raminit_native.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef RAMINIT_NATIVE_H
4 #define RAMINIT_NATIVE_H
5 
6 #include "sandybridge.h"
7 #include <device/dram/ddr3.h>
8 #include <stdbool.h>
9 #include <stdint.h>
10 
11 /* The order is: ch0dimmA, ch0dimmB, ch1dimmA, ch1dimmB */
12 void read_spd(spd_raw_data *spd, u8 addr, bool id_only);
13 void mainboard_get_spd(spd_raw_data *spd, bool id_only);
14 
15 #endif /* RAMINIT_NATIVE_H */
static u32 addr
Definition: cirrus.c:14
Utilities for decoding DDR3 SPDs.
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
void read_spd(spd_raw_data *spd, u8 addr, bool id_only)
Definition: raminit.c:138
uint8_t u8
Definition: stdint.h:45