]> git.sur5r.net Git - openocd/commitdiff
NOR: fix comment for Doxygen
authorAntonio Borneo <borneo.antonio@gmail.com>
Fri, 7 May 2010 09:04:32 +0000 (17:04 +0800)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Sun, 16 May 2010 11:39:47 +0000 (13:39 +0200)
Either bus_width and chip_width are in bytes.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
src/flash/nor/driver.h

index de71a39bf1b9f9ce12f4f0027d4429306d04e1cc..0e77132734bbf14d0589b8f6a623ed06ef7f3293 100644 (file)
@@ -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