ddr: marvell: a38x: old: Backport immutable debug settings
Backport the option to compile with immutable debug settings also to the old implementation of the DDR3 training code. The original PR for mv-ddr-marvell can be seen at https://github.com/MarvellEmbeddedProcessors/mv-ddr-marvell/pull/45/ Signed-off-by: Marek Behún <kabel@kernel.org>
This commit is contained in:

committed by
Stefan Roese

parent
af6c737807
commit
667ffbfa90
@@ -385,7 +385,8 @@ int ddr3_init(void)
|
||||
return status;
|
||||
|
||||
/* Set log level for training lib */
|
||||
ddr3_hws_set_log_level(DEBUG_BLOCK_ALL, DEBUG_LEVEL_ERROR);
|
||||
if (!IS_ENABLED(CONFIG_DDR_IMMUTABLE_DEBUG_SETTINGS))
|
||||
ddr3_hws_set_log_level(DEBUG_BLOCK_ALL, DEBUG_LEVEL_ERROR);
|
||||
|
||||
/* Start New Training IP */
|
||||
status = ddr3_hws_hw_training();
|
||||
|
Reference in New Issue
Block a user