Re: [U-Boot] CONFIG_BOOTDELAY and env_default.h

2018-07-03 Thread Tom Rini
On Mon, Jul 02, 2018 at 11:00:05AM +0100, Alex Kiernan wrote: > On Mon, Jul 2, 2018 at 3:25 AM Tom Rini wrote: > > > > On Fri, Jun 29, 2018 at 09:19:34PM -0700, Simon Glass wrote: > > > +Tom > > > > > > Hi Alex, > > > > > > On 29 June 2018 at 02:31, Alex Kiernan wrote: > > > > > > > > I've just

Re: [U-Boot] CONFIG_BOOTDELAY and env_default.h

2018-07-02 Thread Alex Kiernan
On Mon, Jul 2, 2018 at 3:25 AM Tom Rini wrote: > > On Fri, Jun 29, 2018 at 09:19:34PM -0700, Simon Glass wrote: > > +Tom > > > > Hi Alex, > > > > On 29 June 2018 at 02:31, Alex Kiernan wrote: > > > > > > I've just been digging into a problem where I've got both > > > CONFIG_ENV_IS_NOWHERE set

Re: [U-Boot] CONFIG_BOOTDELAY and env_default.h

2018-07-01 Thread Tom Rini
On Fri, Jun 29, 2018 at 09:19:34PM -0700, Simon Glass wrote: > +Tom > > Hi Alex, > > On 29 June 2018 at 02:31, Alex Kiernan wrote: > > > > I've just been digging into a problem where I've got both > > CONFIG_ENV_IS_NOWHERE set and CONFIG_BOOTDELAY set to -2 and it turns > > out in env_default.h

Re: [U-Boot] CONFIG_BOOTDELAY and env_default.h

2018-06-29 Thread Simon Glass
+Tom Hi Alex, On 29 June 2018 at 02:31, Alex Kiernan wrote: > > I've just been digging into a problem where I've got both > CONFIG_ENV_IS_NOWHERE set and CONFIG_BOOTDELAY set to -2 and it turns > out in env_default.h we have: > > #if defined(CONFIG_BOOTDELAY) && (CONFIG_BOOTDELAY >= 0) >

[U-Boot] CONFIG_BOOTDELAY and env_default.h

2018-06-29 Thread Alex Kiernan
I've just been digging into a problem where I've got both CONFIG_ENV_IS_NOWHERE set and CONFIG_BOOTDELAY set to -2 and it turns out in env_default.h we have: #if defined(CONFIG_BOOTDELAY) && (CONFIG_BOOTDELAY >= 0) "bootdelay="__stringify(CONFIG_BOOTDELAY) "\0" #endif So the -ve