summaryrefslogtreecommitdiff
path: root/src/flash/nor
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-05-07 17:04:32 +0800
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-05-16 13:39:47 +0200
commitfeb95fbb7b1af02bf62a7b06ce2fcfb972d41040 (patch)
tree695eec05cd25e98be76157732d8df73bb65e2ca0 /src/flash/nor
parentebdd3a1670b8561e238f5c16245cefefd56b6f71 (diff)
downloadopenocd_libswd-feb95fbb7b1af02bf62a7b06ce2fcfb972d41040.tar.gz
openocd_libswd-feb95fbb7b1af02bf62a7b06ce2fcfb972d41040.tar.bz2
openocd_libswd-feb95fbb7b1af02bf62a7b06ce2fcfb972d41040.tar.xz
openocd_libswd-feb95fbb7b1af02bf62a7b06ce2fcfb972d41040.zip
NOR: fix comment for Doxygen
Either bus_width and chip_width are in bytes. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/flash/nor')
-rw-r--r--src/flash/nor/driver.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/flash/nor/driver.h b/src/flash/nor/driver.h
index de71a39b..0e771327 100644
--- a/src/flash/nor/driver.h
+++ b/src/flash/nor/driver.h
@@ -75,11 +75,12 @@ struct flash_driver
* CMD_ARGV[2] = baseaddress
* CMD_ARGV[3] = lengthbytes
* CMD_ARGV[4] = chip_width_in bytes
- * CMD_ARGV[5] = bus_width_bytes
+ * CMD_ARGV[5] = bus_width_in_bytes
* CMD_ARGV[6] = driver-specific parameters
* @endcode
*
- * For example, CMD_ARGV[4] = 16 bit flash, CMD_ARGV[5] = 32bit bus.
+ * For example, CMD_ARGV[4] = 2 (for 16 bit flash),
+ * CMD_ARGV[5] = 4 (for 32 bit bus).
*
* If extra arguments are provided (@a CMD_ARGC > 6), they will
* start in @a CMD_ARGV[6]. These can be used to implement