doc: fix riscv commands
commitb8735bbf7ed7eedb0590edbf2a22929b401887ba
authorAntonio Borneo <borneo.antonio@gmail.com>
Sun, 16 Oct 2022 21:56:23 +0000 (16 23:56 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Fri, 21 Oct 2022 18:14:46 +0000 (21 18:14 +0000)
tree8978e3513af84fa75f9a50935c2a0f2bd3b19378
parent1f7d58daeef9d695529af0cc41c52095c8936c80
doc: fix riscv commands

- Fix the declaration of riscv command 'set_mem_access'.
- Remove non existing riscv command 'set_scratch_ram'.
- Add riscv commands 'info', 'reset_delays'; copy the description
  from the 'help' text.
- Don't add riscv commands 'set_prefer_sba' and 'test_sba_config_reg'
  as they are marked as deprecated.
- Ensure that 'test_sba_config_reg' prints a deprecation warning
  when used.

Change-Id: I39dc3aec4e7f13b69ac19685f1b593790acdde83
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Signed-off-by: Jan Matyas <matyas@codasip.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7268
Reviewed-by: Tim Newsome <tim@sifive.com>
Tested-by: jenkins
doc/openocd.texi
src/target/riscv/riscv.c