Stable commit 549209caabc8 ("lightnvm: disable the subsystem") disabled
the lightnvm subsystem in v5.10.114, as it is known to be broken.

Therefore, also disable CONFIG_NVM for nxp-s32g BSPs in order to fix the
following build warnings:
  [NOTE]: 'CONFIG_NVM' last val (y) and .config val (n) do not match
  [INFO]: CONFIG_NVM : n
  Config 'NVM' has the following Direct dependencies (NVM=n):
             BLOCK(=y) && BROKEN(=n)
  Parent dependencies are:
             BLOCK [y] BROKEN [n]

Signed-off-by: Ovidiu Panait <[email protected]>
---
 bsp/nxp-s32g/nxp-s32g.cfg       | 1 -
 bsp/nxp-s32g2xx/nxp-s32g2xx.cfg | 1 -
 2 files changed, 2 deletions(-)

diff --git a/bsp/nxp-s32g/nxp-s32g.cfg b/bsp/nxp-s32g/nxp-s32g.cfg
index 920143cd..ae0d1460 100644
--- a/bsp/nxp-s32g/nxp-s32g.cfg
+++ b/bsp/nxp-s32g/nxp-s32g.cfg
@@ -142,7 +142,6 @@ CONFIG_I2C_IMX=y
 CONFIG_SAC58R_WDT=y
 
 #NVME
-CONFIG_NVM=y
 CONFIG_BLK_DEV_NVME=y
 CONFIG_NVME_TARGET=y
 
diff --git a/bsp/nxp-s32g2xx/nxp-s32g2xx.cfg b/bsp/nxp-s32g2xx/nxp-s32g2xx.cfg
index 920143cd..ae0d1460 100644
--- a/bsp/nxp-s32g2xx/nxp-s32g2xx.cfg
+++ b/bsp/nxp-s32g2xx/nxp-s32g2xx.cfg
@@ -142,7 +142,6 @@ CONFIG_I2C_IMX=y
 CONFIG_SAC58R_WDT=y
 
 #NVME
-CONFIG_NVM=y
 CONFIG_BLK_DEV_NVME=y
 CONFIG_NVME_TARGET=y
 
-- 
2.31.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11798): 
https://lists.yoctoproject.org/g/linux-yocto/message/11798
Mute This Topic: https://lists.yoctoproject.org/mt/94472687/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to