summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorLeandro A. F. Pereira <leandro@hardinfo.org>2010-05-09 17:43:25 -0300
committerLeandro A. F. Pereira <leandro@hardinfo.org>2010-05-09 17:43:39 -0300
commitb58a2f3302c6670e89f2f0d2308e1f060bab513a (patch)
tree2ef2a3c29c3910dfd72c16de2769852cdb15a419 /modules
parent6f7507611ef48071445070a3e32ec6ddd1071bb2 (diff)
Remove decode_ddr_module_height()
Diffstat (limited to 'modules')
-rw-r--r--modules/devices/spd-decode.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/modules/devices/spd-decode.c b/modules/devices/spd-decode.c
index 5f6132c3..2a72725b 100644
--- a/modules/devices/spd-decode.c
+++ b/modules/devices/spd-decode.c
@@ -957,30 +957,6 @@ static void decode_ddr_module_size(unsigned char *bytes, int *size)
}
}
-static void decode_ddr_module_height(unsigned char *bytes, char **height)
-{
- char *temp;
-
- if (bytes[47] & 0x03) {
- switch (bytes[47] & 0x03) {
- case 0x01:
- temp = "1.125\" to 1.25\"";
- break;
- case 0x02:
- temp = "1.7\"";
- break;
- default:
- temp = "Other";
- }
- } else {
- temp = "Unknown";
- }
-
- if (height) {
- *height = temp;
- }
-}
-
static void *decode_ddr_module_timings(unsigned char *bytes, float *tcl,
float *trcd, float *trp,
float *tras)