[PATCH] ARM: mach-imx: Add missing ocotp dependency to protonic-imx6 platform

Sascha Hauer s.hauer at pengutronix.de
Fri Nov 4 01:48:40 PDT 2022


On Wed, Nov 02, 2022 at 02:53:14PM +0100, Robin van der Gracht wrote:
> 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 <robin at protonic.nl>
> ---
>  arch/arm/mach-imx/Kconfig | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks

Sascha

> 
> 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
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list