Skip to content

Commit 0782693

Browse files
danieldegrassecfriedt
authored andcommitted
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: Daniel DeGrasse <[email protected]>
1 parent 9039be4 commit 0782693

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

soc/arm/nxp_imx/rt6xx/Kconfig.defconfig.series

+13
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,19 @@ config ADC_MCUX_LPADC
3131
default y if HAS_MCUX_LPADC
3232
depends on ADC
3333

34+
if FLASH_MCUX_FLEXSPI_XIP
35+
36+
# Avoid RWW hazards by defaulting logging to disabled
37+
choice FLASH_LOG_LEVEL_CHOICE
38+
default FLASH_LOG_LEVEL_OFF
39+
endchoice
40+
41+
choice MEMC_LOG_LEVEL_CHOICE
42+
default MEMC_LOG_LEVEL_OFF
43+
endchoice
44+
45+
endif
46+
3447
#
3548
# MBEDTLS is larger but much faster than TinyCrypt so choose wisely
3649
#

0 commit comments

Comments
 (0)