[U-Boot] [PATCH 1/2] x86: x86-common.h: Add CONFIG_BOOTDELAY

Miao Yan yanmiaobest at gmail.com
Tue Jan 19 06:20:48 CET 2016


2016-01-18 21:49 GMT+08:00 Stefan Roese <sr at denx.de>:
> Without this CONFIG_BOOTDELAY, autobooting does not work at all. As
> autoboot_command() from common/* will not get called. So lets define
> CONFIG_BOOTDELAY, so that auto-booting works on x86.
>
> Signed-off-by: Stefan Roese <sr at denx.de>
> Cc: Miao Yan <yanmiaobest at gmail.com>
> Cc: Bin Meng <bmeng.cn at gmail.com>
> Cc: Simon Glass <sjg at chromium.org>
> ---
>  include/configs/x86-common.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h
> index 4182a3b..6e73656 100644
> --- a/include/configs/x86-common.h
> +++ b/include/configs/x86-common.h
> @@ -235,4 +235,6 @@
>         "tftpboot $loadaddr $bootfile;"                 \
>         "zboot $loadaddr"
>
> +#define CONFIG_BOOTDELAY       2
> +
>  #endif /* __CONFIG_H */
> --
> 2.6.5
>

Tested-by: Miao Yan <yanmiaobest at gmail.com>


More information about the U-Boot mailing list