From: Scott Wood Date: Tue, 7 Jun 2011 11:34:05 -0500 Subject: [U-Boot] [PATCH 3/4] [v3] nand_util: drop trailing all-0xff pages if requested In-Reply-To: References: <0ea56396c07f0fcb92175e7303f4bbda23724a00.1306246651.git.bengardiner@nanometrics.ca> <20110606205829.GB25519@schlenkerla.am.freescale.net> Message-ID: <20110607113405.3e395910@schlenkerla.am.freescale.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, 7 Jun 2011 09:09:07 -0400 Ben Gardiner wrote: > > Why not call drop_ffs before this point? > > To achieve the desired effect, drop_ffs must be called on each > eraseblock sized chunk being written; so it seemed the simplest way > was to force a block-by-block pass with the !WITH_DROP_FFS to enter Ah, I missed that it was within each erase block. > In v4 I will add a -EINVAL if WITH_YAFFS_OOB flag is used with any other flag. OK, I just didn't want it silently ignored, with no documentation of the limitation. -Scott