From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 26 Nov 2018 13:44:44 -0500 Subject: [U-Boot] [U-Boot, v3, 19/21] sandbox: Filter arguments when starting U-Boot In-Reply-To: <20181116014409.147279-20-sjg@chromium.org> References: <20181116014409.147279-20-sjg@chromium.org> Message-ID: <20181126184444.GV11247@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 Thu, Nov 15, 2018 at 06:44:07PM -0700, Simon Glass wrote: > The current method of starting U-Boot from U-Boot adds arguments to pass > the memory file through, so that memory is preserved. This is fine for a > single call, but if we call from TPL -> SPL -> U-Boot the arguments build > up and we have several memory files in the argument list. > > Adjust the implementation to filter out arguments that we want to replace > with new ones. Also print a useful error if the exec() call fails. > > Signed-off-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: not available URL: