All of lore.kernel.org
 help / color / mirror / Atom feed
From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] powerpc/913x: Add config flag for bootdelay
Date: Tue, 16 Dec 2014 08:38:51 -0800	[thread overview]
Message-ID: <5490601B.2080205@freescale.com> (raw)
In-Reply-To: <BL2PR03MB177ADE2E7830DA17FD834D0EC6C0@BL2PR03MB177.namprd03.prod.outlook.com>

On 12/16/2014 02:55 AM, Rai Harninder-B01044 wrote:
> I am not sure I followed you completely but if I just use CONFIG_BOOTDELAY then
> I get the following compilation error
> 
>  
> 
> common/autoboot.c: In function 'bootdelay_process':
> 
> common/autoboot.c:247:68: error: expected expression before ';' token
> 
>  
> 
> Is there something which I am missing?
> 

I am guessing you has some extra character for the CONFIG_BOOTDELAY. Anyway,
since you are on this line common/autoboot.c:247, you can see the "bootdelay"
variable one line above. Your purpose of adding delay to boot is easily
implemented by these command under u-boot

setenv bootdelay 10
saveenv

There is no need to change the code for this purpose.

York

  reply	other threads:[~2014-12-16 16:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-15  7:28 [U-Boot] [PATCH] powerpc/913x: Add config flag for bootdelay Harninder Rai
2014-12-15 16:56 ` York Sun
2014-12-16  6:07   ` Harninder Rai
2014-12-16  6:15     ` York Sun
2014-12-16 10:55       ` Harninder Rai
2014-12-16 16:38         ` York Sun [this message]
2014-12-22  5:22           ` Harninder Rai
2015-01-14 21:55             ` York Sun
2015-01-23  0:29 ` York Sun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5490601B.2080205@freescale.com \
    --to=yorksun@freescale.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.