* [Buildroot] [PATCH 1/1] package/openocd: add config variable for imx_gpio driver
@ 2024-07-10 14:42 Josua Mayer
2024-07-10 21:13 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 3+ messages in thread
From: Josua Mayer @ 2024-07-10 14:42 UTC (permalink / raw)
To: buildroot; +Cc: Josua Mayer
imx_gpio driver is used on NXP i.MX family of SoCs and required e.g. for
programming noridc microcontrollers on SolidRun SolidSense family of
devices.
Add new config variable BR2_PACKAGE_OPENOCD_IMXGPIO for imx_gpio driver.
Signed-off-by: Josua Mayer <josua@solid-run.com>
---
package/openocd/Config.in | 6 ++++++
package/openocd/openocd.mk | 1 +
2 files changed, 7 insertions(+)
diff --git a/package/openocd/Config.in b/package/openocd/Config.in
index cef109b511..b2398f32da 100644
--- a/package/openocd/Config.in
+++ b/package/openocd/Config.in
@@ -200,6 +200,12 @@ config BR2_PACKAGE_OPENOCD_BCM2835
Enable building support for bitbanging on BCM2835
(as found in Raspberry Pi)
+config BR2_PACKAGE_OPENOCD_IMXGPIO
+ bool "Enable support for bitbanging on NXP i.MX family"
+ help
+ Enable support for bitbanging on NXP i.MX family
+ (as found in SolidSense N6, N8, etc.)
+
endif # BR2_arm || BR2_aarch64
config BR2_PACKAGE_OPENOCD_GW16012
diff --git a/package/openocd/openocd.mk b/package/openocd/openocd.mk
index b24d1eacf0..6b9f5541cd 100644
--- a/package/openocd/openocd.mk
+++ b/package/openocd/openocd.mk
@@ -90,6 +90,7 @@ OPENOCD_CONF_OPTS += \
$(if $(BR2_PACKAGE_OPENOCD_AT91RM),--enable-at91rm9200,--disable-at91rm9200) \
$(if $(BR2_PACKAGE_OPENOCD_BCM2835),--enable-bcm2835gpio,--disable-bcm2835gpio) \
$(if $(BR2_PACKAGE_OPENOCD_GW16012),--enable-gw16012,--disable-gw16012) \
+ $(if $(BR2_PACKAGE_OPENOCD_IMXGPIO),--enable-imx_gpio,--disable-imx_gpio) \
$(if $(BR2_PACKAGE_OPENOCD_PRESTO),--enable-presto,--disable-presto) \
$(if $(BR2_PACKAGE_OPENOCD_OPENJTAG),--enable-openjtag,--disable-openjtag) \
$(if $(BR2_PACKAGE_OPENOCD_BUSPIRATE),--enable-buspirate,--disable-buspirate) \
--
2.35.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/openocd: add config variable for imx_gpio driver
2024-07-10 14:42 [Buildroot] [PATCH 1/1] package/openocd: add config variable for imx_gpio driver Josua Mayer
@ 2024-07-10 21:13 ` Thomas Petazzoni via buildroot
2024-07-11 10:15 ` Josua Mayer
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-10 21:13 UTC (permalink / raw)
To: Josua Mayer; +Cc: buildroot
On Wed, 10 Jul 2024 16:42:57 +0200
Josua Mayer <josua@solid-run.com> wrote:
> +config BR2_PACKAGE_OPENOCD_IMXGPIO
> + bool "Enable support for bitbanging on NXP i.MX family"
Simplified to:
bool "bitbanging on NXP i.MX family"
to be like the other options in OpenOCD, and applied your patch. Thanks
a lot!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/openocd: add config variable for imx_gpio driver
2024-07-10 21:13 ` Thomas Petazzoni via buildroot
@ 2024-07-11 10:15 ` Josua Mayer
0 siblings, 0 replies; 3+ messages in thread
From: Josua Mayer @ 2024-07-11 10:15 UTC (permalink / raw)
To: Thomas Petazzoni; +Cc: buildroot@buildroot.org
Am 10.07.24 um 23:13 schrieb Thomas Petazzoni:
> On Wed, 10 Jul 2024 16:42:57 +0200
> Josua Mayer <josua@solid-run.com> wrote:
>
>> +config BR2_PACKAGE_OPENOCD_IMXGPIO
>> + bool "Enable support for bitbanging on NXP i.MX family"
> Simplified to:
>
> bool "bitbanging on NXP i.MX family"
>
> to be like the other options in OpenOCD, and applied your patch. Thanks
> a lot!
Thank you!
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-07-11 10:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-10 14:42 [Buildroot] [PATCH 1/1] package/openocd: add config variable for imx_gpio driver Josua Mayer
2024-07-10 21:13 ` Thomas Petazzoni via buildroot
2024-07-11 10:15 ` Josua Mayer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.