summaryrefslogtreecommitdiffstats
path: root/include/configs/x86-common.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2016-01-18 14:49:56 +0100
committerBin Meng <bmeng.cn@gmail.com>2016-02-05 12:47:20 +0800
commitf7c3638c9f6a9beb812adcfb7c61e4c65ac1888d (patch)
tree1683fc052d0c87cd40de59ab6e34e027b9298ba5 /include/configs/x86-common.h
parent9f73690cebfd57ff713098da8604738dbaa688ce (diff)
downloadtalos-obmc-uboot-f7c3638c9f6a9beb812adcfb7c61e4c65ac1888d.tar.gz
talos-obmc-uboot-f7c3638c9f6a9beb812adcfb7c61e4c65ac1888d.zip
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 <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>
Diffstat (limited to 'include/configs/x86-common.h')
-rw-r--r--include/configs/x86-common.h2
1 files changed, 2 insertions, 0 deletions
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 */
OpenPOWER on IntegriCloud