mtd/drivers/mtd/onenand generic.c,1.1,1.2
kyungmin.park at samsung.com
kyungmin.park at samsung.com
Mon Nov 7 08:07:10 EST 2005
- Previous message: mtd/fs/jffs2/test histo.h, 1.1, 1.2 histo1.h, 1.1, 1.2 histo2.h, 1.1,
1.2 histo_html.h, 1.1, 1.2 histo_text.h, 1.1, 1.2 main.c, 1.2,
1.3 rtime.h, 1.1, 1.2
- Next message: mtd/drivers/mtd/maps pxa2xx-flash.c, NONE, 1.1 Kconfig, 1.61,
1.62 Makefile.common, 1.34, 1.35 lubbock-flash.c, 1.21,
NONE mainstone-flash.c, 1.4, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/mtd/drivers/mtd/onenand
In directory phoenix.infradead.org:/tmp/cvs-serv31566/drivers/mtd/onenand
Modified Files:
generic.c
Log Message:
OneNAND: Use flash_platform_data
Now we use flash_platform_data instead of onenand_platform_data.
If you want to support OneNAND Sync. Burst Read, apply following patch and
enable mmcontrol
http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=3057/1
Of course, you have to implement mmcontrol function in board specific files.
Index: generic.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/onenand/generic.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- generic.c 9 Sep 2005 06:39:47 -0000 1.1
+++ generic.c 7 Nov 2005 13:07:07 -0000 1.2
@@ -24,7 +24,6 @@
#define DRIVER_NAME "onenand"
-
#ifdef CONFIG_MTD_PARTITIONS
static const char *part_probes[] = { "cmdlinepart", NULL, };
#endif
@@ -39,7 +38,7 @@
{
struct onenand_info *info;
struct platform_device *pdev = to_platform_device(dev);
- struct onenand_platform_data *pdata = pdev->dev.platform_data;
+ struct flash_platform_data *pdata = pdev->dev.platform_data;
struct resource *res = pdev->resource;
unsigned long size = res->end - res->start + 1;
int err;
@@ -61,7 +60,8 @@
goto out_release_mem_region;
}
- info->onenand.mmcontrol = pdata->mmcontrol;
+ // FIXME Enable this, If flash_platform_data has mmcontrol method.
+// info->onenand.mmcontrol = pdata->mmcontrol;
info->mtd.name = pdev->dev.bus_id;
info->mtd.priv = &info->onenand;
- Previous message: mtd/fs/jffs2/test histo.h, 1.1, 1.2 histo1.h, 1.1, 1.2 histo2.h, 1.1,
1.2 histo_html.h, 1.1, 1.2 histo_text.h, 1.1, 1.2 main.c, 1.2,
1.3 rtime.h, 1.1, 1.2
- Next message: mtd/drivers/mtd/maps pxa2xx-flash.c, NONE, 1.1 Kconfig, 1.61,
1.62 Makefile.common, 1.34, 1.35 lubbock-flash.c, 1.21,
NONE mainstone-flash.c, 1.4, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-mtd-cvs
mailing list