Upstream rejected ARCH_MXC_ARM64 in favor of defining ARCH_MXC for
arm64 so the current condition is never enabled.
Make it depend on HAVE_IMX_SC instead because it depends on SCFW API.
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
config NVMEM_IMX_SCU_OCOTP
tristate "i.MX8QM On-Chip OTP Controller support"
- depends on ARCH_MXC_ARM64|| COMPILE_TEST
+ depends on HAVE_IMX_SC || COMPILE_TEST
depends on HAS_IOMEM
help
This is a driver for the On-Chip OTP Controller (OCOTP) available on