From 864f456cc9098e7db2f4591290433d5ade9d696f Mon Sep 17 00:00:00 2001 From: Kyungmin Park Date: Wed, 9 Nov 2005 15:15:10 +0000 Subject: [PATCH] --- yaml --- r: 13627 b: refs/heads/master c: 861e37ad5969f764574722f4cfc0734511cbac7f h: refs/heads/master i: 13625: 5fd5c748b509817f00222f4df4c239f26af8b10e 13623: ed9b707f188af9e0db6b26c17a6bafa1c69a28d7 v: v3 --- [refs] | 2 +- trunk/include/asm-arm/mach/flash.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 89ff4facd83b..1445da5893c2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 59d1ff3bfb56d9b8cf3ec864857e6a4dfd9d2dba +refs/heads/master: 861e37ad5969f764574722f4cfc0734511cbac7f diff --git a/trunk/include/asm-arm/mach/flash.h b/trunk/include/asm-arm/mach/flash.h index cd57436d9874..05b029ef6371 100644 --- a/trunk/include/asm-arm/mach/flash.h +++ b/trunk/include/asm-arm/mach/flash.h @@ -11,6 +11,7 @@ #define ASMARM_MACH_FLASH_H struct mtd_partition; +struct mtd_info; /* * map_name: the map probe function name @@ -19,6 +20,7 @@ struct mtd_partition; * init: method called at driver/device initialisation * exit: method called at driver/device removal * set_vpp: method called to enable or disable VPP + * mmcontrol: method called to enable or disable Sync. Burst Read in OneNAND * parts: optional array of mtd_partitions for static partitioning * nr_parts: number of mtd_partitions for static partitoning */ @@ -29,6 +31,7 @@ struct flash_platform_data { int (*init)(void); void (*exit)(void); void (*set_vpp)(int on); + void (*mmcontrol)(struct mtd_info *mtd, int sync_read); struct mtd_partition *parts; unsigned int nr_parts; };