summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-04-10 20:01:28 -0600
committerTom Rini <trini@ti.com>2014-05-29 17:45:31 -0400
commit66ded17dfc8110f0d9aa9d50fe140a320bfa4e53 (patch)
treefc9363d14bfa87a18de989e9e85d74736062675a /common/Makefile
parente1bf824dfd6881f6f633238c275bfa1e5d83c433 (diff)
downloadu-boot-66ded17dfc8110f0d9aa9d50fe140a320bfa4e53.tar.gz
u-boot-66ded17dfc8110f0d9aa9d50fe140a320bfa4e53.tar.bz2
u-boot-66ded17dfc8110f0d9aa9d50fe140a320bfa4e53.zip
Move autoboot code to autoboot.c
The autoboot code is complex and long. It deserves its own file with a simple interface from main.c. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile
index 7998325452..ae798654ca 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -23,6 +23,11 @@ obj-y += s_record.o
obj-y += xyzModem.o
obj-y += cmd_disk.o
+# This option is not just y/n - it can have a numeric value
+ifdef CONFIG_BOOTDELAY
+obj-y += autoboot.o
+endif
+
# boards
obj-$(CONFIG_SYS_GENERIC_BOARD) += board_f.o
obj-$(CONFIG_SYS_GENERIC_BOARD) += board_r.o