From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 24 Apr 2019 09:23:53 -0400 Subject: [U-Boot] [U-Boot, 03/18] mtd: nand: provide several helpers to do common NAND operations In-Reply-To: <1552659287-11246-4-git-send-email-philippe.reynes@softathome.com> References: <1552659287-11246-4-git-send-email-philippe.reynes@softathome.com> Message-ID: <20190424132353.GC31207@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Mar 15, 2019 at 03:14:32PM +0100, Philippe Reynes wrote: > From: Boris Brezillon > > Linux commit 97d90da8a88 ("mtd: nand: provide several helpers > to do common NAND operations") > > This is part of the process of removing direct calls to ->cmdfunc() > outside of the core in order to introduce a better interface to execute > NAND operations. > > Here we provide several helpers and make use of them to remove all > direct calls to ->cmdfunc(). This way, we can easily modify those > helpers to make use of the new ->exec_op() interface when available. > > Signed-off-by: Boris Brezillon > [miquel.raynal at free-electrons.com: rebased and fixed some conflicts] > Signed-off-by: Miquel Raynal > Acked-by: Masahiro Yamada > [Philippe Reynes: adapt code to u-boot and only keep new function] > > Signed-off-by: Philippe Reynes Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: