spd.h: Move enum ddr3_module_type to ddr3.h
Move specific enum ddr3_module_type to <device/dram/ddr3.h>. Change-Id: I8fd7892dda26158a5bdd6cd4972c7859a252153e Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71547 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <device/dram/ddr2.h>
|
||||
#include <device/dram/ddr3.h>
|
||||
#include <dimm_info_util.h>
|
||||
#include <spd.h>
|
||||
#include <tests/test.h>
|
||||
@ -146,10 +147,12 @@ static void test_smbios_form_factor_to_spd_mod_type(void **state)
|
||||
},
|
||||
{
|
||||
.memory_type = MEMORY_TYPE_DDR3,
|
||||
.udimm_allowed = {DDR3_SPD_UDIMM, DDR3_SPD_MICRO_DIMM,
|
||||
DDR3_SPD_MINI_UDIMM},
|
||||
.rdimm_allowed = {DDR3_SPD_RDIMM, DDR3_SPD_MINI_RDIMM},
|
||||
.expected_module_type = DDR3_SPD_SODIMM,
|
||||
.udimm_allowed = {SPD_DDR3_DIMM_TYPE_UDIMM,
|
||||
SPD_DDR3_DIMM_TYPE_MICRO_DIMM,
|
||||
SPD_DDR3_DIMM_TYPE_MINI_UDIMM},
|
||||
.rdimm_allowed = {SPD_DDR3_DIMM_TYPE_RDIMM,
|
||||
SPD_DDR3_DIMM_TYPE_MINI_RDIMM},
|
||||
.expected_module_type = SPD_DDR3_DIMM_TYPE_SO_DIMM,
|
||||
},
|
||||
{
|
||||
.memory_type = MEMORY_TYPE_DDR4,
|
||||
|
Reference in New Issue
Block a user