Commit 07826936 authored by Daniel DeGrasse's avatar Daniel DeGrasse Committed by Christopher Friedt
Browse files

soc: rt6xx: Default flexspi logging to disabled


RT600 uses the mcux flexspi driver, which can produce RWW hazards when
calling code linked into flash (such as the logging subsystem). Disable
logging in flexspi driver by default for RT600 series.

Fixes #40744
Signed-off-by: default avatarDaniel DeGrasse <daniel.degrasse@nxp.com>
parent 9039be48
Showing with 13 additions and 0 deletions
+13 -0
......@@ -31,6 +31,19 @@ config ADC_MCUX_LPADC
default y if HAS_MCUX_LPADC
depends on ADC
if FLASH_MCUX_FLEXSPI_XIP
# Avoid RWW hazards by defaulting logging to disabled
choice FLASH_LOG_LEVEL_CHOICE
default FLASH_LOG_LEVEL_OFF
endchoice
choice MEMC_LOG_LEVEL_CHOICE
default MEMC_LOG_LEVEL_OFF
endchoice
endif
#
# MBEDTLS is larger but much faster than TinyCrypt so choose wisely
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment