From d943e22f940d44348aa0a5bf8463c6184e28e9b3 Mon Sep 17 00:00:00 2001 From: Vidar Berg Date: Tue, 24 Sep 2024 11:49:54 +0200 Subject: [PATCH] drivers: flash: spi nor: Allow the init priority to be configurable Some applications may require the SPI NOR driver to be initialized earlier. This commit enables the user to change the default initialization priority. Signed-off-by: Vidar Berg --- drivers/flash/Kconfig.nor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/flash/Kconfig.nor b/drivers/flash/Kconfig.nor index 46ea130efbf..8e395fa5a0c 100644 --- a/drivers/flash/Kconfig.nor +++ b/drivers/flash/Kconfig.nor @@ -45,7 +45,7 @@ config SPI_NOR_SFDP_RUNTIME endchoice config SPI_NOR_INIT_PRIORITY - int + int "Init priority" default 80 help Device driver initialization priority.