drivers: flash/memc: Source logging kconfig last
Some flash/memc drivers like flexspi will want to default the value of the log level to off to avoid RWW hazard while XIP, to do this, the logging template must be sourced after the driver kconfig files so that the default value from the driver is able to be checked, since logging template introduces an unconditional default otherwise. Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
parent
1d3864addf
commit
57d777b640
2 changed files with 8 additions and 8 deletions
|
@ -86,10 +86,6 @@ menuconfig FLASH
|
|||
|
||||
if FLASH
|
||||
|
||||
module = FLASH
|
||||
module-str = flash
|
||||
source "subsys/logging/Kconfig.template.log_config"
|
||||
|
||||
config FLASH_JESD216_API
|
||||
bool "Provide API to read JESD216 flash parameters"
|
||||
depends on FLASH_JESD216
|
||||
|
@ -239,4 +235,8 @@ source "drivers/flash/Kconfig.nrf_mram"
|
|||
|
||||
source "drivers/flash/Kconfig.numaker_rmc"
|
||||
|
||||
module = FLASH
|
||||
module-str = flash
|
||||
source "subsys/logging/Kconfig.template.log_config"
|
||||
|
||||
endif # FLASH
|
||||
|
|
|
@ -11,10 +11,6 @@ menuconfig MEMC
|
|||
|
||||
if MEMC
|
||||
|
||||
module = MEMC
|
||||
module-str = memc
|
||||
source "subsys/logging/Kconfig.template.log_config"
|
||||
|
||||
config MEMC_INIT_PRIORITY
|
||||
int "Initialization priority"
|
||||
default 0
|
||||
|
@ -35,4 +31,8 @@ source "drivers/memc/Kconfig.smartbond"
|
|||
|
||||
source "drivers/memc/Kconfig.mspi"
|
||||
|
||||
module = MEMC
|
||||
module-str = memc
|
||||
source "subsys/logging/Kconfig.template.log_config"
|
||||
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue