From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 8 Feb 2017 22:03:20 -0500 Subject: [U-Boot] [U-Boot, v2, 01/15] cmd: bootm: fix build when CONFIG_CMD_IMLS_NAND In-Reply-To: <20170131213717.30745-2-grygorii.strashko@ti.com> References: <20170131213717.30745-2-grygorii.strashko@ti.com> Message-ID: <20170209030320.GV26129@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 Tue, Jan 31, 2017 at 03:37:03PM -0600, Grygorii Strashko wrote: > Now when CONFIG_CMD_IMLS_NAND is enabled the u-boot build will fail, > because nand_read_skip_bad() function has been changed to accept more > parameters, hence fix it. > > CC cmd/bootm.o > cmd/bootm.c: In function 'nand_imls_legacyimage': > cmd/bootm.c:390:8: error: too few arguments to function 'nand_read_skip_bad' > ret = nand_read_skip_bad(mtd, off, &len, imgdata); > ^ > In file included from cmd/bootm.c:18:0: > include/nand.h:101:5: note: declared here > int nand_read_skip_bad(struct mtd_info *mtd, loff_t offset, size_t *length, > ^ > LD drivers/block/built-in.o > > Signed-off-by: Grygorii Strashko > Reviewed-by: Tom Rini > Reviewed-by: Simon Glass 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: