diff options
author | Daniel Anselmi <danselmi@gmx.ch> | 2022-12-17 13:11:30 +0100 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2023-09-23 14:36:14 +0000 |
commit | eb22a37b42a7944694243b690bfbd736e1ef52e8 (patch) | |
tree | 7cd75412ecc6e14820f730d73202de21b838fbc9 /src/pld/gowin.c | |
parent | 198a914cf99a8602a05227ac5327a805714e4b87 (diff) | |
download | riscv-openocd-eb22a37b42a7944694243b690bfbd736e1ef52e8.zip riscv-openocd-eb22a37b42a7944694243b690bfbd736e1ef52e8.tar.gz riscv-openocd-eb22a37b42a7944694243b690bfbd736e1ef52e8.tar.bz2 |
pld: harmonize refresh commands
add refresh command for lattice devices
rename gowin reprogram to refresh
rename virtex2 program to refresh
Change-Id: I9da83a614b96da3e947ac4608b0a291b1d126914
Signed-off-by: Daniel Anselmi <danselmi@gmx.ch>
Reviewed-on: https://review.openocd.org/c/openocd/+/7839
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/pld/gowin.c')
-rw-r--r-- | src/pld/gowin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pld/gowin.c b/src/pld/gowin.c index c42b2f2..bbc2fe1 100644 --- a/src/pld/gowin.c +++ b/src/pld/gowin.c @@ -543,10 +543,10 @@ static const struct command_registration gowin_exec_command_handlers[] = { .help = "reading user register from FPGA", .usage = "pld_name", }, { - .name = "reload", + .name = "refresh", .mode = COMMAND_EXEC, .handler = gowin_reload_command_handler, - .help = "reloading bitstream from flash to SRAM", + .help = "reload bitstream from flash to SRAM", .usage = "pld_name", }, COMMAND_REGISTRATION_DONE |