summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/emulation/qemu-i440fx/northbridge.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/emulation/qemu-i440fx/northbridge.c b/src/mainboard/emulation/qemu-i440fx/northbridge.c
index 2b7d2036e0..d19d6c8207 100644
--- a/src/mainboard/emulation/qemu-i440fx/northbridge.c
+++ b/src/mainboard/emulation/qemu-i440fx/northbridge.c
@@ -192,10 +192,10 @@ static int qemu_get_smbios_data17(int handle, int parent_handle, unsigned long *
t->size = qemu_get_memory_size() / 1024;
t->data_width = 64;
t->total_width = 64;
- t->form_factor = 9; /* DIMM */
+ t->form_factor = MEMORY_FORMFACTOR_DIMM;
t->device_locator = smbios_add_string(t->eos, "Virtual");
- t->memory_type = 0x12; /* DDR */
- t->type_detail = 0x80; /* Synchronous */
+ t->memory_type = MEMORY_TYPE_DDR;
+ t->type_detail = MEMORY_TYPE_DETAIL_SYNCHRONOUS;
t->speed = 200;
t->clock_speed = 200;
t->manufacturer = smbios_add_string(t->eos, CONFIG_MAINBOARD_VENDOR);