x86: x86-common.h: Add CONFIG_BOOTDELAY
authorStefan Roese <sr@denx.de>
Mon, 18 Jan 2016 13:49:56 +0000 (14:49 +0100)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 5 Feb 2016 04:47:20 +0000 (12:47 +0800)
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@denx.de>
Cc: Miao Yan <yanmiaobest@gmail.com>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
Tested-by: Miao Yan <yanmiaobest@gmail.com>
Acked-by: Bin Meng <bmeng.cn@gmail.com>
include/configs/x86-common.h

index dc7b227d25c41e3061a521a2ad196237a666e362..3ae4366bfae215580b0f4e84fd557a3f0a263916 100644 (file)
        "tftpboot $loadaddr $bootfile;"                 \
        "zboot $loadaddr"
 
+#define CONFIG_BOOTDELAY       2
+
 #endif /* __CONFIG_H */