package/openocd: add config option for imx_gpio driver

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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Josua Mayer 2024-07-10 16:42:57 +02:00 committed by Thomas Petazzoni
parent 5778d9209c
commit e9f949d483
2 changed files with 7 additions and 0 deletions

View File

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

View File

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