common_timing_params.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. #ifndef COMMON_TIMING_PARAMS_H
  9. #define COMMON_TIMING_PARAMS_H
  10. typedef struct {
  11. /* parameters to constrict */
  12. unsigned int tCKmin_X_ps;
  13. unsigned int tCKmax_ps;
  14. unsigned int tCKmax_max_ps;
  15. unsigned int tRCD_ps;
  16. unsigned int tRP_ps;
  17. unsigned int tRAS_ps;
  18. unsigned int tWR_ps; /* maximum = 63750 ps */
  19. unsigned int tWTR_ps; /* maximum = 63750 ps */
  20. unsigned int tRFC_ps; /* maximum = 255 ns + 256 ns + .75 ns
  21. = 511750 ps */
  22. unsigned int tRRD_ps; /* maximum = 63750 ps */
  23. unsigned int tRC_ps; /* maximum = 254 ns + .75 ns = 254750 ps */
  24. unsigned int refresh_rate_ps;
  25. unsigned int tIS_ps; /* byte 32, spd->ca_setup */
  26. unsigned int tIH_ps; /* byte 33, spd->ca_hold */
  27. unsigned int tDS_ps; /* byte 34, spd->data_setup */
  28. unsigned int tDH_ps; /* byte 35, spd->data_hold */
  29. unsigned int tRTP_ps; /* byte 38, spd->trtp */
  30. unsigned int tDQSQ_max_ps; /* byte 44, spd->tdqsq */
  31. unsigned int tQHS_ps; /* byte 45, spd->tqhs */
  32. unsigned int ndimms_present;
  33. unsigned int lowest_common_SPD_caslat;
  34. unsigned int highest_common_derated_caslat;
  35. unsigned int additive_latency;
  36. unsigned int all_DIMMs_burst_lengths_bitmask;
  37. unsigned int all_DIMMs_registered;
  38. unsigned int all_DIMMs_unbuffered;
  39. unsigned int all_DIMMs_ECC_capable;
  40. unsigned long long total_mem;
  41. unsigned long long base_address;
  42. } common_timing_params_t;
  43. #endif