mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: mach-imx: Add missing ocotp dependency to protonic-imx6 platform
@ 2022-11-02 13:53 Robin van der Gracht
  2022-11-04  8:48 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Robin van der Gracht @ 2022-11-02 13:53 UTC (permalink / raw)
  To: barebox; +Cc: Robin van der Gracht

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: mach-imx: Add missing ocotp dependency to protonic-imx6 platform
  2022-11-02 13:53 [PATCH] ARM: mach-imx: Add missing ocotp dependency to protonic-imx6 platform Robin van der Gracht
@ 2022-11-04  8:48 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2022-11-04  8:48 UTC (permalink / raw)
  To: Robin van der Gracht; +Cc: barebox

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-04  8:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-02 13:53 [PATCH] ARM: mach-imx: Add missing ocotp dependency to protonic-imx6 platform Robin van der Gracht
2022-11-04  8:48 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox