]>
Commit | Line | Data |
---|---|---|
58e5e9af KG |
1 | /* |
2 | * Copyright 2008 Freescale Semiconductor, Inc. | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or | |
5 | * modify it under the terms of the GNU General Public License | |
6 | * Version 2 as published by the Free Software Foundation. | |
7 | */ | |
8 | ||
9 | #ifndef COMMON_TIMING_PARAMS_H | |
10 | #define COMMON_TIMING_PARAMS_H | |
11 | ||
12 | typedef struct { | |
13 | /* parameters to constrict */ | |
14 | ||
15 | unsigned int tCKmin_X_ps; | |
16 | unsigned int tCKmax_ps; | |
17 | unsigned int tCKmax_max_ps; | |
18 | unsigned int tRCD_ps; | |
19 | unsigned int tRP_ps; | |
20 | unsigned int tRAS_ps; | |
21 | ||
22 | unsigned int tWR_ps; /* maximum = 63750 ps */ | |
23 | unsigned int tWTR_ps; /* maximum = 63750 ps */ | |
24 | unsigned int tRFC_ps; /* maximum = 255 ns + 256 ns + .75 ns | |
25 | = 511750 ps */ | |
26 | ||
27 | unsigned int tRRD_ps; /* maximum = 63750 ps */ | |
28 | unsigned int tRC_ps; /* maximum = 254 ns + .75 ns = 254750 ps */ | |
29 | ||
30 | unsigned int refresh_rate_ps; | |
31 | ||
32 | unsigned int tIS_ps; /* byte 32, spd->ca_setup */ | |
33 | unsigned int tIH_ps; /* byte 33, spd->ca_hold */ | |
34 | unsigned int tDS_ps; /* byte 34, spd->data_setup */ | |
35 | unsigned int tDH_ps; /* byte 35, spd->data_hold */ | |
36 | unsigned int tRTP_ps; /* byte 38, spd->trtp */ | |
37 | unsigned int tDQSQ_max_ps; /* byte 44, spd->tdqsq */ | |
38 | unsigned int tQHS_ps; /* byte 45, spd->tqhs */ | |
39 | ||
40 | unsigned int ndimms_present; | |
41 | unsigned int lowest_common_SPD_caslat; | |
42 | unsigned int highest_common_derated_caslat; | |
43 | unsigned int additive_latency; | |
44 | unsigned int all_DIMMs_burst_lengths_bitmask; | |
45 | unsigned int all_DIMMs_registered; | |
46 | unsigned int all_DIMMs_unbuffered; | |
47 | unsigned int all_DIMMs_ECC_capable; | |
48 | ||
49 | unsigned long long total_mem; | |
50 | unsigned long long base_address; | |
51 | } common_timing_params_t; | |
52 | ||
53 | #endif |