From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Tue, 16 Dec 2014 08:38:51 -0800 Subject: [U-Boot] [PATCH] powerpc/913x: Add config flag for bootdelay In-Reply-To: References: <1418628525-16528-1-git-send-email-harninder.rai@freescale.com> <548F12CA.5090902@freescale.com>, Message-ID: <5490601B.2080205@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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