Kconfig 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. choice
  2. prompt "Method to determine DDR clock frequency"
  3. default STATIC_DDR_CLK_FREQ
  4. depends on ARCH_P1010 || ARCH_P1020 || ARCH_P2020 || ARCH_T1024 \
  5. || ARCH_T1042 || ARCH_T2080 || ARCH_T4240 || ARCH_LS1021A \
  6. || FSL_LSCH2 || FSL_LSCH3 || TARGET_KMCENT2
  7. help
  8. The DDR clock frequency can either be defined statically now at
  9. build time, or can be determined at run-time via the
  10. get_board_ddr_clk function.
  11. config DYNAMIC_DDR_CLK_FREQ
  12. bool "Run-time DDR clock frequency"
  13. config STATIC_DDR_CLK_FREQ
  14. bool "Build-time static DDR clock frequency"
  15. endchoice
  16. config DDR_CLK_FREQ
  17. int "DDR clock frequency in Hz"
  18. depends on STATIC_DDR_CLK_FREQ
  19. default 100000000
  20. help
  21. The DDR clock frequency, specified in Hz.
  22. config DDR_SPD
  23. bool "JEDEC Serial Presence Detect (SPD) support"
  24. help
  25. For memory controllers that can utilize it, add enable support for
  26. using the JEDEC SDP standard.
  27. config SYS_SPD_BUS_NUM
  28. int "I2C bus number for DDR SPD"
  29. depends on DDR_SPD || SYS_I2C_LEGACY || SPL_SYS_I2C_LEGACY
  30. default 0
  31. source "drivers/ddr/altera/Kconfig"
  32. source "drivers/ddr/imx/Kconfig"
  33. config SPD_EEPROM
  34. bool "DDR controller makes use of an SPD EEPROM for JEDEC information"
  35. depends on SYS_FSL_DDR || SYS_FSL_MMDC || CONFIG_ARMADA_XP
  36. help
  37. Get DDR timing information from an I2C EEPROM. Common with pluggable
  38. memory modules such as SODIMMs. You must define SPD_EEPROM_ADDRESS
  39. to the I2C address of the SPD EEPROM.