cli: Add new `config' CLI for status/config registers

TBD

For instance, the quad-enable bit can then be queried like this:

  $ flashprog config -p ch341a_spi --get quad-enable

TODO: Write a manpage once the syntax is agreed upon.

Change-Id: I6b9d26c67e6ad65be5df367d2db7942bb98f27ac
Signed-off-by: Nico Huber <nico.h@gmx.de>
diff --git a/include/cli.h b/include/cli.h
index e9e512c..a96bbfb 100644
--- a/include/cli.h
+++ b/include/cli.h
@@ -32,6 +32,9 @@
 	OPTION_FLASH_NAME,
 	OPTION_FLASH_SIZE,
 	OPTION_PROGRESS,
+	OPTION_CONFIG_GET,
+	OPTION_CONFIG_SET,
+	OPTION_CONFIG_VOLATILE,
 };
 
 struct log_args {
@@ -63,6 +66,7 @@
 int cli_init(void);
 
 int flashprog_classic_main(int argc, char *argv[]);
+int flashprog_config_main(int argc, char *argv[]);
 
 extern enum flashprog_log_level verbose_screen;
 extern enum flashprog_log_level verbose_logfile;