summaryrefslogtreecommitdiff
path: root/include/linux/mtd/onenand.h
diff options
context:
space:
mode:
authorKyungmin Park <kmpark@infradead.org>2009-07-21 11:58:04 +0900
committerWolfgang Denk <wd@denx.de>2009-08-26 22:06:50 +0200
commitce3277a6f2c082f39596d3d3d88dd0a5bc91439d (patch)
treeaf54d2f839ce493a1be456abe5429763dde9c484 /include/linux/mtd/onenand.h
parent0d042037b3cf8693ea0f793d0c292430bfc5a95c (diff)
downloadu-boot-imx-ce3277a6f2c082f39596d3d3d88dd0a5bc91439d.zip
u-boot-imx-ce3277a6f2c082f39596d3d3d88dd0a5bc91439d.tar.gz
u-boot-imx-ce3277a6f2c082f39596d3d3d88dd0a5bc91439d.tar.bz2
OneNAND: Remove unused read_spareram
Remove unused read_spareram and add unlock_all as kernel does Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'include/linux/mtd/onenand.h')
-rw-r--r--include/linux/mtd/onenand.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/mtd/onenand.h b/include/linux/mtd/onenand.h
index 2597e34..06f7baf 100644
--- a/include/linux/mtd/onenand.h
+++ b/include/linux/mtd/onenand.h
@@ -83,10 +83,9 @@ struct onenand_chip {
size_t len);
int (*wait) (struct mtd_info *mtd, int state);
int (*bbt_wait) (struct mtd_info *mtd, int state);
+ void (*unlock_all)(struct mtd_info *mtd);
int (*read_bufferram) (struct mtd_info *mtd, loff_t addr, int area,
unsigned char *buffer, int offset, size_t count);
- int (*read_spareram) (struct mtd_info *mtd, loff_t addr, int area,
- unsigned char *buffer, int offset, size_t count);
int (*write_bufferram) (struct mtd_info *mtd, loff_t addr, int area,
const unsigned char *buffer, int offset,
size_t count);