diff options
| author | Kyungmin Park <kmpark@infradead.org> | 2008-08-13 09:11:02 +0900 | 
|---|---|---|
| committer | Scott Wood <scottwood@freescale.com> | 2008-08-13 11:00:19 -0500 | 
| commit | d438d50848e9425286e5fb0493e0affb5a0b1e1b (patch) | |
| tree | 49406f77ad245aca8e1e21b98f2d3216c2a3f774 /include/linux/mtd/nand.h | |
| parent | 8641ff266ae6638da201747c239fd39ba34c4958 (diff) | |
| download | olio-uboot-2014.01-d438d50848e9425286e5fb0493e0affb5a0b1e1b.tar.xz olio-uboot-2014.01-d438d50848e9425286e5fb0493e0affb5a0b1e1b.zip | |
Fix OneNAND build break
Since page size field is changed from oobblock to writesize. But OneNAND is not updated.
- fix bufferram management at erase operation
This patch includes the NAND/OneNAND state filed too.
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'include/linux/mtd/nand.h')
| -rw-r--r-- | include/linux/mtd/nand.h | 16 | 
1 files changed, 1 insertions, 15 deletions
| diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 2993a89e1..7ac72de95 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; |