The protonic-imx6 board code calls imx_ocotp_read/write_field functions.
Compiling without IMX_OCOTP results in a build failure.

Signed-off-by: Robin van der Gracht <ro...@protonic.nl>
---
 arch/arm/mach-imx/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index dcb70c8c1a..b95c6e456e 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -350,6 +350,7 @@ config MACH_PROTONIC_IMX6
        select ARCH_IMX6
        select ARCH_IMX6UL
        select ARM_USE_COMPRESSED_DTB
+       select IMX_OCOTP
 
 config MACH_PROTONIC_IMX8M
        bool "Protonic-Holland i.MX8Mx based boards"
-- 
2.37.2


Reply via email to