This is an automated email from Gerrit. "zapb <[email protected]>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/9154
-- gerrit commit a7967232739f9483a3fbc9cf13d5baa09e384959 Author: Marc Schink <[email protected]> Date: Wed Aug 20 19:20:09 2025 +0000 adapter/parport: Drop 'write_on_exit' command The 'write_on_exit' command has been deprecated for one release and can now be dropped. The functionality can be replaced by the 'adapter gpio' subsystem. Change-Id: I11cf9afbe38fed0ab29da435b04c5365d26cab4f Signed-off-by: Marc Schink <[email protected]> diff --git a/doc/openocd.texi b/doc/openocd.texi index 4f629ab85a..bdf90bd07d 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -3237,13 +3237,6 @@ The default port number is 0x378 (LTP1). @b{Note:} Direct I/O support is deprecated and will be removed in the future. @end deffn -@deffn {Config Command} {parport write_on_exit} (@option{on}|@option{off}) -@b{Note:} This command is deprecated and will be removed in the future. -Use the command @command{adapter gpio} to configure the pin states before the adapter terminates its operation. - -Configure whether the driver sets the value specified by @command{adapter gpio} to the output pins on shutdown. -@end deffn - @deffn {Config Command} {parport toggling_time} time Configure how many nanoseconds the hardware needs to toggle TCK. The driver uses this value to obey the @command{adapter speed} configuration. diff --git a/src/jtag/drivers/parport.c b/src/jtag/drivers/parport.c index 642d8ba850..606b01aedc 100644 --- a/src/jtag/drivers/parport.c +++ b/src/jtag/drivers/parport.c @@ -414,8 +414,7 @@ static int parport_quit(void) set_pin_state(gpio_index, false); } - if (parport_write_exit_state) - parport_write_data(); + parport_write_data(); if (parport_led(false) != ERROR_OK) return ERROR_FAIL; @@ -463,18 +462,6 @@ COMMAND_HANDLER(parport_handle_port_command) return ERROR_OK; } -COMMAND_HANDLER(parport_handle_write_on_exit_command) -{ - if (CMD_ARGC != 1) - return ERROR_COMMAND_SYNTAX_ERROR; - - LOG_WARNING("DEPRECATED: 'parport write_on_exit' will be removed in the future, use the 'adapter gpio' command to configure the exit state for pins"); - - COMMAND_PARSE_ON_OFF(CMD_ARGV[0], parport_write_exit_state); - - return ERROR_OK; -} - COMMAND_HANDLER(parport_handle_toggling_time_command) { if (CMD_ARGC != 1) @@ -513,13 +500,6 @@ static const struct command_registration parport_subcommand_handlers[] = { .help = "Specify the device file of he parallel port", .usage = "file", }, - { - .name = "write_on_exit", - .handler = parport_handle_write_on_exit_command, - .mode = COMMAND_CONFIG, - .help = "Configure the driver to write a value to the parallel port on shutdown", - .usage = "('on'|'off')", - }, { .name = "toggling_time", .handler = parport_handle_toggling_time_command, --
