diff options
author | Simon Glass <sjg@chromium.org> | 2014-04-10 20:01:28 -0600 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-05-29 17:45:31 -0400 |
commit | 66ded17dfc8110f0d9aa9d50fe140a320bfa4e53 (patch) | |
tree | fc9363d14bfa87a18de989e9e85d74736062675a /common/Makefile | |
parent | e1bf824dfd6881f6f633238c275bfa1e5d83c433 (diff) | |
download | u-boot-imx-66ded17dfc8110f0d9aa9d50fe140a320bfa4e53.zip u-boot-imx-66ded17dfc8110f0d9aa9d50fe140a320bfa4e53.tar.gz u-boot-imx-66ded17dfc8110f0d9aa9d50fe140a320bfa4e53.tar.bz2 |
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/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile index 7998325..ae79865 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 |