From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 8 Oct 2016 13:04:38 -0400 Subject: [U-Boot] [U-Boot, 3/6] tools/env: lookup dev_type directly from flash_read_buf/flash_write_buf In-Reply-To: <1472505422-26122-4-git-send-email-andreas.fenkart@digitalstrom.com> References: <1472505422-26122-4-git-send-email-andreas.fenkart@digitalstrom.com> Message-ID: <20161008170438.GP4884@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 Mon, Aug 29, 2016 at 11:16:59PM +0200, Andreas Fenkart wrote: > flash_write_buf already looks up size/offset/#sector from struct > envdev_s. It can look up mtd_type as well. Same applies to > flash_read_buf. Makes the interface simpler > > Signed-off-by: Andreas Fenkart 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: Digital signature URL: