Kconfig 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. config SYS_FSL_DDR
  2. bool
  3. help
  4. Select Freescale General DDR driver, shared between most Freescale
  5. PowerPC- based SoCs (such as mpc83xx, mpc85xx and ARM- based
  6. Layerscape SoCs (such as ls2080a).
  7. config SYS_FSL_MMDC
  8. bool
  9. help
  10. Select Freescale Multi Mode DDR controller (MMDC).
  11. config SYS_FSL_DDR_BE
  12. bool
  13. help
  14. Access DDR registers in big-endian
  15. config SYS_FSL_DDR_LE
  16. bool
  17. help
  18. Access DDR registers in little-endian
  19. config FSL_DDR_BIST
  20. bool
  21. config FSL_DDR_INTERACTIVE
  22. bool
  23. config FSL_DDR_SYNC_REFRESH
  24. bool
  25. config FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
  26. bool
  27. menu "Freescale DDR controllers"
  28. depends on SYS_FSL_DDR
  29. config SYS_NUM_DDR_CTLRS
  30. int "Maximum DDR controllers"
  31. default 3 if ARCH_LS2080A || \
  32. ARCH_T4240
  33. default 2 if ARCH_B4860 || \
  34. ARCH_BSC9132 || \
  35. ARCH_P4080 || \
  36. ARCH_P5040 || \
  37. ARCH_LX2160A || \
  38. ARCH_LX2162A || \
  39. ARCH_T4160
  40. default 1
  41. config SYS_FSL_DDR_VER
  42. int
  43. default 50 if SYS_FSL_DDR_VER_50
  44. default 47 if SYS_FSL_DDR_VER_47
  45. default 46 if SYS_FSL_DDR_VER_46
  46. default 44 if SYS_FSL_DDR_VER_44
  47. config SYS_FSL_DDR_VER_50
  48. bool
  49. config SYS_FSL_DDR_VER_47
  50. bool
  51. config SYS_FSL_DDR_VER_46
  52. bool
  53. config SYS_FSL_DDR_VER_44
  54. bool
  55. config SYS_FSL_DDRC_GEN1
  56. bool
  57. help
  58. Enable Freescale DDR controller.
  59. config SYS_FSL_DDRC_GEN2
  60. bool
  61. depends on !MPC86xx
  62. help
  63. Enable Freescale DDR2 controller.
  64. config SYS_FSL_DDRC_GEN3
  65. bool
  66. depends on PPC
  67. help
  68. Enable Freescale DDR3 controller for PowerPC SoCs.
  69. config SYS_FSL_DDRC_ARM_GEN3
  70. bool
  71. depends on ARM
  72. help
  73. Enable Freescale DDR3 controller for ARM SoCs.
  74. config SYS_FSL_DDRC_GEN4
  75. bool
  76. help
  77. Enable Freescale DDR4 controller.
  78. config SYS_FSL_HAS_DDR4
  79. bool
  80. config SYS_FSL_HAS_DDR3
  81. bool
  82. config SYS_FSL_HAS_DDR2
  83. bool
  84. config SYS_FSL_HAS_DDR1
  85. bool
  86. choice
  87. prompt "DDR technology"
  88. default SYS_FSL_DDR4 if SYS_FSL_HAS_DDR4
  89. default SYS_FSL_DDR3 if SYS_FSL_HAS_DDR3
  90. default SYS_FSL_DDR2 if SYS_FSL_HAS_DDR2
  91. default SYS_FSL_DDR1 if SYS_FSL_HAS_DDR1
  92. config SYS_FSL_DDR4
  93. bool "Freescale DDR4 controller"
  94. depends on SYS_FSL_HAS_DDR4
  95. select SYS_FSL_DDRC_GEN4
  96. config SYS_FSL_DDR3
  97. bool "Freescale DDR3 controller"
  98. depends on SYS_FSL_HAS_DDR3
  99. select SYS_FSL_DDRC_GEN3 if PPC
  100. select SYS_FSL_DDRC_ARM_GEN3 if ARM
  101. config SYS_FSL_DDR2
  102. bool "Freescale DDR2 controller"
  103. depends on SYS_FSL_HAS_DDR2
  104. select SYS_FSL_DDRC_GEN2 if (!MPC86xx && !SYS_FSL_DDRC_GEN3)
  105. config SYS_FSL_DDR1
  106. bool "Freescale DDR1 controller"
  107. depends on SYS_FSL_HAS_DDR1
  108. select SYS_FSL_DDRC_GEN1
  109. endchoice
  110. endmenu
  111. config SYS_FSL_ERRATUM_A008378
  112. bool
  113. config SYS_FSL_ERRATUM_A008109
  114. bool
  115. config SYS_FSL_ERRATUM_A008511
  116. bool
  117. config SYS_FSL_ERRATUM_A009663
  118. bool
  119. config SYS_FSL_ERRATUM_A009801
  120. bool
  121. config SYS_FSL_ERRATUM_A009803
  122. bool
  123. config SYS_FSL_ERRATUM_A009942
  124. bool
  125. config SYS_FSL_ERRATUM_A010165
  126. bool
  127. config SYS_FSL_ERRATUM_NMG_DDR120
  128. bool
  129. config SYS_FSL_ERRATUM_DDR_115
  130. bool
  131. config SYS_FSL_ERRATUM_DDR111_DDR134
  132. bool
  133. config SYS_FSL_ERRATUM_DDR_A003
  134. bool
  135. config SYS_FSL_ERRATUM_DDR_A003474
  136. bool