aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2023-11-04 15:55:24 +0100
committerAntonio Borneo <borneo.antonio@gmail.com>2023-11-18 11:15:47 +0000
commit5587710c1a0537df78d87bcc0472e25a974d91c1 (patch)
tree0ebd01688f3340886e8aa37ad316382daaaf724b
parent9fcf33da8e09fb93a1f3f1eb0409e64a820698b4 (diff)
downloadriscv-openocd-5587710c1a0537df78d87bcc0472e25a974d91c1.zip
riscv-openocd-5587710c1a0537df78d87bcc0472e25a974d91c1.tar.gz
riscv-openocd-5587710c1a0537df78d87bcc0472e25a974d91c1.tar.bz2
nor: rsl10: fix minor coding style
I use a script to compare the commands in the code with the ones in the documentation. Fix the style of the data to simplify the parsing. Change-Id: I0f1d7e9ff5e2928312ca1a2f3424f82d2910580a Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7960 Tested-by: jenkins Reviewed-by: zapb <dev@zapb.de>
-rw-r--r--src/flash/nor/rsl10.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/flash/nor/rsl10.c b/src/flash/nor/rsl10.c
index 5f0ac9b..c286e9a 100644
--- a/src/flash/nor/rsl10.c
+++ b/src/flash/nor/rsl10.c
@@ -815,7 +815,8 @@ static const struct command_registration rsl10_exec_command_handlers[] = {
.help = "Mass erase all unprotected flash areas",
.usage = "",
},
- COMMAND_REGISTRATION_DONE};
+ COMMAND_REGISTRATION_DONE
+};
static const struct command_registration rsl10_command_handlers[] = {
{
@@ -825,7 +826,8 @@ static const struct command_registration rsl10_command_handlers[] = {
.usage = "",
.chain = rsl10_exec_command_handlers,
},
- COMMAND_REGISTRATION_DONE};
+ COMMAND_REGISTRATION_DONE
+};
const struct flash_driver rsl10_flash = {
.name = "rsl10",