diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-17 14:11:24 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-19 13:39:41 -0800 |
commit | 664ba309d5dac2532c83fed441d14f93c7381d62 (patch) | |
tree | def919a7d9e741e4f214f13ddd3698b1ac2de87d /src/flash/nand.h | |
parent | 59d4466b551e89077e41b0dba21c7a95db9c7b0a (diff) | |
download | riscv-openocd-664ba309d5dac2532c83fed441d14f93c7381d62.zip riscv-openocd-664ba309d5dac2532c83fed441d14f93c7381d62.tar.gz riscv-openocd-664ba309d5dac2532c83fed441d14f93c7381d62.tar.bz2 |
add support for naming NAND banks
Requires users to name their nand banks, allowing them to be used
instead of bank numbers in script commands.
Diffstat (limited to 'src/flash/nand.h')
-rw-r--r-- | src/flash/nand.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/flash/nand.h b/src/flash/nand.h index d38ed67..af52c77 100644 --- a/src/flash/nand.h +++ b/src/flash/nand.h @@ -75,6 +75,7 @@ struct nand_ecclayout { struct nand_device { + char *name; struct nand_flash_controller *controller; void *controller_priv; struct nand_manufacturer *manufacturer; |