mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-21 18:53:06 +00:00
187c41d783
Add command tuning for DDR interactive mode, used during board bring-up or with CubeMX DDR tools to execute software tuning for the DDR configuration: - software read DQS Gating (replace the built-in one) - Bit de-skew - Eye Training or DQS training Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
49 lines
1.4 KiB
Text
49 lines
1.4 KiB
Text
|
|
config STM32MP1_DDR
|
|
bool "STM32MP1 DDR driver"
|
|
depends on DM && OF_CONTROL && ARCH_STM32MP
|
|
select RAM
|
|
select SPL_RAM if SPL
|
|
default y
|
|
help
|
|
activate STM32MP1 DDR controller driver for STM32MP1 soc
|
|
family: support for LPDDR2, LPDDR3 and DDR3
|
|
the SDRAM parameters for controleur and phy need to be provided
|
|
in device tree (computed by DDR tuning tools)
|
|
|
|
config STM32MP1_DDR_INTERACTIVE
|
|
bool "STM32MP1 DDR driver : interactive support"
|
|
depends on STM32MP1_DDR
|
|
help
|
|
activate interactive support in STM32MP1 DDR controller driver
|
|
used for DDR tuning tools
|
|
to enter in intercative mode type 'd' during SPL DDR driver
|
|
initialisation
|
|
|
|
config STM32MP1_DDR_INTERACTIVE_FORCE
|
|
bool "STM32MP1 DDR driver : force interactive mode"
|
|
depends on STM32MP1_DDR_INTERACTIVE
|
|
default n
|
|
help
|
|
force interactive mode in STM32MP1 DDR controller driver
|
|
skip the polling of character 'd' in console
|
|
useful when SPL is loaded in sysram
|
|
directly by programmer
|
|
|
|
config STM32MP1_DDR_TESTS
|
|
bool "STM32MP1 DDR driver : tests support"
|
|
depends on STM32MP1_DDR_INTERACTIVE
|
|
default y
|
|
help
|
|
activate test support for interactive support in
|
|
STM32MP1 DDR controller driver: command test
|
|
|
|
config STM32MP1_DDR_TUNING
|
|
bool "STM32MP1 DDR driver : support of tuning"
|
|
depends on STM32MP1_DDR_INTERACTIVE
|
|
default y
|
|
help
|
|
activate tuning command in STM32MP1 DDR interactive mode
|
|
used for DDR tuning tools
|
|
- DQ Deskew algorithm
|
|
- DQS Trimming
|