summaryrefslogtreecommitdiff
path: root/include/jffs2/load_kernel.h
diff options
context:
space:
mode:
authorIlya Yanok <yanok@emcraft.com>2008-11-13 19:49:32 +0300
committerWolfgang Denk <wd@denx.de>2008-12-09 23:38:46 +0100
commite0b5532579eda8b4629f1b4f6e49c3cc60f52237 (patch)
treec5f93054dfad5f1c07be4116fdba556c9d27a741 /include/jffs2/load_kernel.h
parentf73846956778a7dfee83403ef9747aff77198848 (diff)
downloadu-boot-imx-e0b5532579eda8b4629f1b4f6e49c3cc60f52237.zip
u-boot-imx-e0b5532579eda8b4629f1b4f6e49c3cc60f52237.tar.gz
u-boot-imx-e0b5532579eda8b4629f1b4f6e49c3cc60f52237.tar.bz2
jffs2: add sector_size field to part_info structure
This patch adds sector_size field to part_info structure (used by new JFFS2 code). Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Diffstat (limited to 'include/jffs2/load_kernel.h')
-rw-r--r--include/jffs2/load_kernel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/jffs2/load_kernel.h b/include/jffs2/load_kernel.h
index e9b7d6e..8b2720e 100644
--- a/include/jffs2/load_kernel.h
+++ b/include/jffs2/load_kernel.h
@@ -50,6 +50,7 @@ struct part_info {
u32 offset; /* offset within device */
void *jffs2_priv; /* used internaly by jffs2 */
u32 mask_flags; /* kernel MTD mask flags */
+ u32 sector_size; /* size of sector */
struct mtd_device *dev; /* parent device */
};