From f7c3638c9f6a9beb812adcfb7c61e4c65ac1888d Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Mon, 18 Jan 2016 14:49:56 +0100 Subject: [PATCH] x86: x86-common.h: Add CONFIG_BOOTDELAY 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 Cc: Miao Yan Cc: Bin Meng Cc: Simon Glass Tested-by: Miao Yan Acked-by: Bin Meng --- 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 dc7b227d25..3ae4366bfa 100644 --- a/include/configs/x86-common.h +++ b/include/configs/x86-common.h @@ -236,4 +236,6 @@ "tftpboot $loadaddr $bootfile;" \ "zboot $loadaddr" +#define CONFIG_BOOTDELAY 2 + #endif /* __CONFIG_H */ -- 2.25.1