summaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-12-09 10:25:08 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-12-09 10:25:52 -0800
commit910dd664ceb6faef5e9029e9b0848d7ccc63bf4b (patch)
treee94c456002048802ac86043a7ecaaf8ffb682697 /src/flash
parent26d7ed08f9ff220be583179fdea76466739cf32d (diff)
downloadopenocd+libswd-910dd664ceb6faef5e9029e9b0848d7ccc63bf4b.tar.gz
openocd+libswd-910dd664ceb6faef5e9029e9b0848d7ccc63bf4b.tar.bz2
openocd+libswd-910dd664ceb6faef5e9029e9b0848d7ccc63bf4b.tar.xz
openocd+libswd-910dd664ceb6faef5e9029e9b0848d7ccc63bf4b.zip
Comment and doxygen fixes
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/nand/driver.h2
-rw-r--r--src/flash/nor/imp.h4
2 files changed, 2 insertions, 4 deletions
diff --git a/src/flash/nand/driver.h b/src/flash/nand/driver.h
index 545a731b..fe73e906 100644
--- a/src/flash/nand/driver.h
+++ b/src/flash/nand/driver.h
@@ -86,7 +86,7 @@ struct nand_flash_controller
/**
* Find a NAND flash controller by name.
- * @param The name of the NAND controller to find.
+ * @param name Identifies the NAND controller to find.
* @returns The nand_flash_controller named @c name, or NULL if not found.
*/
struct nand_flash_controller *nand_driver_find_by_name(const char *name);
diff --git a/src/flash/nor/imp.h b/src/flash/nor/imp.h
index 4c849fef..34ccbe4e 100644
--- a/src/flash/nor/imp.h
+++ b/src/flash/nor/imp.h
@@ -22,14 +22,12 @@
// this is an internal header
#include "core.h"
#include "driver.h"
-// common flash internals
-#include <flash/common.h>
// almost all drivers will need this file
#include <target/target.h>
/**
* Adds a new NOR bank to the global list of banks.
- * @params bank The bank that should be added.
+ * @param bank The bank that should be added.
*/
void flash_bank_add(struct flash_bank *bank);