blob: 4750d3cd7d58c16846b9c440f68225afbf5a28be [file] [log] [blame]
Barnali Sarkare13b7752017-02-21 16:24:49 +05301/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2017 Intel Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */
15
16#ifndef _COMMON_SMBIOS_H_
17#define _COMMON_SMBIOS_H_
18
19#include <stdint.h>
20#include <memory_info.h>
21
22/* Fill the SMBIOS memory information from FSP MEM_INFO_DATA_HOB in CBMEM.*/
23void dimm_info_fill(struct dimm_info *dimm, u32 dimm_capacity, u8 ddr_type,
Barnali Sarkar6497cd92017-03-07 17:11:03 +053024 u32 frequency, u8 channel_id, u8 dimm_id,
25 const char *module_part_num, size_t module_part_number_size,
Barnali Sarkare13b7752017-02-21 16:24:49 +053026 u16 data_width);
27
28#endif /* _COMMON_SMBIOS_H_ */