From: Tom Rini Date: Fri, 20 Jul 2018 18:34:40 -0400 Subject: [U-Boot] [U-Boot, 1/2] env: Include bootdelay in environment if negative In-Reply-To: <20180705123816.15033-1-alex.kiernan@gmail.com> References: <20180705123816.15033-1-alex.kiernan@gmail.com> Message-ID: <20180720223440.GA11755@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, Jul 05, 2018 at 12:38:15PM +0000, Alex Kiernan wrote: > The test for (CONFIG_BOOTDELAY >= 0) has been in U-Boot since the > beginning, but the meaning of it has changed over time. Allow the > default to be set for any value, including -ve ones. This allows > (for example) CONFIG_ENV_IS_NOWHERE to have values for bootdelay in > its compiled in environment. > > The only thing this changes is where the default for bootdelay can be > fetched from; before this change you get a compiled in default, after > you'll pull it from the default value in the environment, but both values > will be the same. Also if there's a value set in the environment then > that will take precedence (as before). > > Signed-off-by: Alex Kiernan 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: