coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
spd.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef MAINBOARD_SPD_H
4 #define MAINBOARD_SPD_H
5 
6 #define SPD_LEN 256
7 
8 #define SPD_DRAM_TYPE 2
9 #define SPD_DRAM_DDR3 0x0b
10 #define SPD_DRAM_LPDDR3 0xf1
11 #define SPD_DENSITY_BANKS 4
12 #define SPD_ADDRESSING 5
13 #define SPD_ORGANIZATION 7
14 #define SPD_BUS_DEV_WIDTH 8
15 #define SPD_PART_OFF 128
16 #define SPD_PART_LEN 18
17 #define SPD_MANU_OFF 148
18 
19 int mainboard_get_spd_index(void);
21 
22 #endif
uintptr_t mainboard_get_spd_data(void)
Definition: spd.c:75
int mainboard_get_spd_index(void)
Definition: spd.c:64
unsigned long uintptr_t
Definition: stdint.h:21