1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef __MTD_FLASHCHIP_H__
13 #define __MTD_FLASHCHIP_H__
15 #include <linux/sched.h>
44 int ref_point_counter;
48 unsigned int write_suspended:1;
49 unsigned int erase_suspended:1;
50 unsigned long in_progress_block_addr;
56 int buffer_write_time;
62 struct flchip_shared {
64 struct flchip *writing;
65 struct flchip *erasing;