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.
This commit is contained in:
Zachary T Welch
2009-11-17 14:11:24 -08:00
parent 59d4466b55
commit 664ba309d5
2 changed files with 11 additions and 3 deletions

View File

@@ -75,6 +75,7 @@ struct nand_ecclayout {
struct nand_device
{
char *name;
struct nand_flash_controller *controller;
void *controller_priv;
struct nand_manufacturer *manufacturer;