[U-Boot] [PATCH] powerpc/913x: Add config flag for bootdelay

York Sun yorksun at freescale.com
Tue Dec 16 17:38:51 CET 2014


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




More information about the U-Boot mailing list