diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2019-04-10 14:09:27 +0200 |
---|---|---|
committer | Patrice Chotard <patrice.chotard@st.com> | 2019-05-23 11:38:11 +0200 |
commit | 01a7510849fdd53f363e4f3aef14342fa2ae417a (patch) | |
tree | 0b8735e9670f580cac5233f557426370096b6fa6 /drivers/ram/stm32mp1/Kconfig | |
parent | 1767ac2d1f7fadc0780f95243906dda7553ac77a (diff) |
stm32mp1: ram: add interactive mode for DDR configuration
This debug mode is used by CubeMX DDR tuning tools
or manualy for tests during board bring-up.
It is simple console used to change DDR parameters and check
initialization.
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'drivers/ram/stm32mp1/Kconfig')
-rw-r--r-- | drivers/ram/stm32mp1/Kconfig | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/ram/stm32mp1/Kconfig b/drivers/ram/stm32mp1/Kconfig index b9c816662c..511eaf2c4c 100644 --- a/drivers/ram/stm32mp1/Kconfig +++ b/drivers/ram/stm32mp1/Kconfig @@ -10,3 +10,22 @@ config STM32MP1_DDR 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 |