X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Flinux%2Fmtd%2Fnand.h;h=7ac72de95e21d3103ec5ea7bad80d54b3a429b96;hb=28ac6719108e989429de2b3dfa90312ba7c4d27b;hp=2993a89e1b3cdae4995f0dce5d587f59e3b28ca0;hpb=5a7ddf4e1fb9347f783eb1473c30187d7a22bd81;p=oweals%2Fu-boot.git diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 2993a89e1b..7ac72de95e 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -213,20 +213,6 @@ typedef enum { #define NAND_CI_CHIPNR_MSK 0x03 #define NAND_CI_CELLTYPE_MSK 0x0C -/* - * nand_state_t - chip states - * Enumeration for NAND flash chip state - */ -typedef enum { - FL_READY, - FL_READING, - FL_WRITING, - FL_ERASING, - FL_SYNCING, - FL_CACHEDPRG, - FL_PM_SUSPENDED, -} nand_state_t; - /* Keep gcc happy */ struct nand_chip; @@ -416,7 +402,7 @@ struct nand_chip { uint8_t cellinfo; int badblockpos; - nand_state_t state; + int state; uint8_t *oob_poi; struct nand_hw_control *controller;