diff options
Diffstat (limited to 'src/include/device')
-rw-r--r-- | src/include/device/dram/spd.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/device/dram/spd.h b/src/include/device/dram/spd.h index c677f4ce9b..1a86ea374f 100644 --- a/src/include/device/dram/spd.h +++ b/src/include/device/dram/spd.h @@ -3,8 +3,18 @@ #ifndef DEVICE_DRAM_SPD_H #define DEVICE_DRAM_SPD_H +#include <smbios.h> #include <types.h> const char *spd_manufacturer_name(const uint16_t mod_id); +struct spd_info { + uint16_t type_detail; + uint8_t form_factor; +}; + +void get_spd_info(smbios_memory_type memory_type, uint8_t module_type, struct spd_info *info); +uint8_t convert_form_factor_to_module_type(smbios_memory_type memory_type, + smbios_memory_form_factor form_factor); + #endif /* DEVICE_DRAM_SPD_H */ |