From cb59152e70fdef33d3bc5383f9ae2340546bf02a Mon Sep 17 00:00:00 2001 From: Huang Shijie Date: Fri, 15 Mar 2013 11:00:59 +0800 Subject: [PATCH] --- yaml --- r: 374778 b: refs/heads/master c: f22d5f638b0ea40e7cceb4639a608bd2c3eff97c h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/mtd/nand.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 0074357ca228..3f9f687b1a95 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: bd247acb77b7a3dcb1075d7c9f09bc46bd242f3b +refs/heads/master: f22d5f638b0ea40e7cceb4639a608bd2c3eff97c diff --git a/trunk/include/linux/mtd/nand.h b/trunk/include/linux/mtd/nand.h index 0f78d19303c5..13786f0ae12a 100644 --- a/trunk/include/linux/mtd/nand.h +++ b/trunk/include/linux/mtd/nand.h @@ -588,6 +588,8 @@ struct nand_chip { * @chipsize: total chip size in MiB * @erasesize: eraseblock size in bytes (determined from the extended ID if 0) * @options: stores various chip bit options + * @id_len: The valid length of the @id. + * @oobsize: OOB size */ struct nand_flash_dev { char *name; @@ -602,6 +604,8 @@ struct nand_flash_dev { unsigned int chipsize; unsigned int erasesize; unsigned int options; + uint16_t id_len; + uint16_t oobsize; }; /**