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>
39 lines
743 B
Plaintext
39 lines
743 B
Plaintext
# Memory controller configuration options
|
|
|
|
# Copyright (c) 2020 Teslabs Engineering S.L.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig MEMC
|
|
bool "Memory controller drivers [EXPERIMENTAL]"
|
|
select EXPERIMENTAL
|
|
help
|
|
Add support for memory controllers
|
|
|
|
if MEMC
|
|
|
|
config MEMC_INIT_PRIORITY
|
|
int "Initialization priority"
|
|
default 0
|
|
help
|
|
Memory controllers initialization priority.
|
|
|
|
source "drivers/memc/Kconfig.stm32"
|
|
|
|
source "drivers/memc/Kconfig.mcux"
|
|
|
|
source "drivers/memc/Kconfig.sam"
|
|
|
|
source "drivers/memc/Kconfig.sifive"
|
|
|
|
source "drivers/memc/Kconfig.nxp_s32"
|
|
|
|
source "drivers/memc/Kconfig.smartbond"
|
|
|
|
source "drivers/memc/Kconfig.mspi"
|
|
|
|
module = MEMC
|
|
module-str = memc
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
endif
|