2 * include/linux/mg_disk.c
4 * Private data for mflash platform driver
6 * (c) 2008 mGine Co.,LTD
7 * (c) 2008 unsik Kim <donari75@gmail.com>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
17 /* name for platform device */
18 #define MG_DEV_NAME "mg_disk"
20 /* names of GPIO resource */
21 #define MG_RST_PIN "mg_rst"
22 /* except MG_BOOT_DEV, reset-out pin should be assigned */
23 #define MG_RSTOUT_PIN "mg_rstout"
25 /* device attribution */
26 /* use mflash as boot device */
27 #define MG_BOOT_DEV (1 << 0)
28 /* use mflash as storage device */
29 #define MG_STORAGE_DEV (1 << 1)
30 /* same as MG_STORAGE_DEV, but bootloader already done reset sequence */
31 #define MG_STORAGE_DEV_SKIP_RST (1 << 2)
33 /* private driver data */
38 /* device attribution */