From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 17 Feb 2017 12:36:40 -0500 Subject: [U-Boot] [PATCH v1] cmd: sspi: Add an additional argument to set the bus frequency In-Reply-To: <1487352448-937-1-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1487352448-937-1-git-send-email-philipp.tomsich@theobroma-systems.com> Message-ID: <20170217173640.GS26129@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, Feb 17, 2017 at 06:27:28PM +0100, Philipp Tomsich wrote: > Signed-off-by: Philipp Tomsich Please add a bit more information here as to why you need this, in the commit message. [snip] > + if (argc >= 5) > + hz = simple_strtoul(argv[4], NULL, 10); You need an else here to set hz to the previously used value. Thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: