Skip to contentSkip to conversation

nvmem: Broaden the selection of NVMEM_SNVS_LPGPR

PATCH Applied Fabio Estevam 2 participants 2 messages May 23, 2019 NVMEM framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nvmem: Broaden the selection of NVMEM_SNVS_LPGPR

The SNVS LPGR IP block is also found on other i.MX SoCs that are not covered by the current SOC_IMX6 || SOC_IMX7D logic.

One example is the i.MX7ULP.

To avoid keep expanding the SoC logic selection, make it broader by using the more generic ARCH_MXC symbol instead.

---
 drivers/nvmem/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/nvmem/Kconfig +1 -1
index afa4335e0a20..700c262a117c 100644
@@ -188,7 +188,7 @@ config MESON_MX_EFUSE
 
 config NVMEM_SNVS_LPGPR
 	tristate "Support for Low Power General Purpose Register"
-	depends on SOC_IMX6 || SOC_IMX7D || COMPILE_TEST
+	depends on ARCH_MXC || COMPILE_TEST
 	help
 	  This is a driver for Low Power General Purpose Register (LPGPR) available on
 	  i.MX6 and i.MX7 SoCs in Secure Non-Volatile Storage (SNVS) of this chip.
Signature · 1 line
2.17.1
#1 lore raw
Quoted 5 lines · Fabio Estevam

The SNVS LPGR IP block is also found on other i.MX SoCs that are not covered by the current SOC_IMX6 || SOC_IMX7D logic.

One example is the i.MX7ULP.

Quoted 8 lines

To avoid keep expanding the SoC logic selection, make it broader by using the more generic ARCH_MXC symbol instead.

---
  drivers/nvmem/Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Applied!

Thanks,
srini