All of lore.kernel.org
 help / color / mirror / Atom feed
From: Josua Mayer <josua@solid-run.com>
To: buildroot@buildroot.org
Cc: Josua Mayer <josua@solid-run.com>
Subject: [Buildroot] [PATCH 1/1] package/openocd: add config variable for imx_gpio driver
Date: Wed, 10 Jul 2024 16:42:57 +0200	[thread overview]
Message-ID: <20240710144257.27528-1-josua@solid-run.com> (raw)

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

             reply	other threads:[~2024-07-10 14:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-10 14:42 Josua Mayer [this message]
2024-07-10 21:13 ` [Buildroot] [PATCH 1/1] package/openocd: add config variable for imx_gpio driver Thomas Petazzoni via buildroot
2024-07-11 10:15   ` Josua Mayer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240710144257.27528-1-josua@solid-run.com \
    --to=josua@solid-run.com \
    --cc=buildroot@buildroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.