From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from co202.xi-lite.net ([149.6.83.202]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UHyGe-00062N-TT for linux-mtd@lists.infradead.org; Tue, 19 Mar 2013 15:16:01 +0000 Message-ID: <5148812A.1040607@parrot.com> Date: Tue, 19 Mar 2013 16:15:54 +0100 From: Matthieu CASTET MIME-Version: 1.0 To: David Mosberger-Tang Subject: Re: RE : ONFI patch References: <51473C88.4000105@parrot.com> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Cc: "linux-mtd@lists.infradead.org" List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , David Mosberger-Tang a écrit : > Matthieu, > > > > I was afraid that might be the case. Since there is no write_byte > callback, would it be OK if we convert the subfeature_param to 16 bits > and then write it using the write_buf callback? If so, I can code that up. Yes may be that's the best solution And while we have a 16 bits version of nand_onfi_set_features we send : chip->cmdfunc(mtd, NAND_CMD_SET_FEATURES, addr<<1, -1); Matthieu