diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-12-28 13:10:52 +0100 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2012-01-04 17:15:03 +0000 |
commit | ae7ab8b09d1c69559284ad9d9e3c17345d2496dd (patch) | |
tree | f6c3ad3fcf3f6dcda3d87c52e956807794484277 /src/flash/nand/driver.h | |
parent | 4668bd264cfe64c3e3ddd0f75cb5bf2e5e85f717 (diff) |
flash: introduce .usage field for nand and nor flash driver structure
Change-Id: I47e7ec8fa8c70d2addc3aa52d7c97e9e1e7bb662
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Reviewed-on: http://openocd.zylin.com/301
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src/flash/nand/driver.h')
-rw-r--r-- | src/flash/nand/driver.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/flash/nand/driver.h b/src/flash/nand/driver.h index 4edce9fa..04ec64fc 100644 --- a/src/flash/nand/driver.h +++ b/src/flash/nand/driver.h @@ -37,6 +37,9 @@ struct nand_flash_controller /** Driver name that is used to select it from configuration files. */ const char *name; + /** Usage of flash command registration. */ + const char *usage; + const struct command_registration *commands; /** NAND device command called when driver is instantiated during configuration. */ |