diff options
| author | Simon Glass <[email protected]> | 2014-04-10 20:01:28 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2014-05-29 17:45:31 -0400 |
| commit | 66ded17dfc8110f0d9aa9d50fe140a320bfa4e53 (patch) | |
| tree | fc9363d14bfa87a18de989e9e85d74736062675a /include | |
| parent | e1bf824dfd6881f6f633238c275bfa1e5d83c433 (diff) | |
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 <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/autoboot.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/autoboot.h b/include/autoboot.h new file mode 100644 index 00000000000..aaae4afff4b --- /dev/null +++ b/include/autoboot.h @@ -0,0 +1,23 @@ +/* + * (C) Copyright 2000 + * Wolfgang Denk, DENX Software Engineering, [email protected]. + * + * Add to readline cmdline-editing by + * (C) Copyright 2005 + * JinHua Luo, GuangDong Linux Center, <[email protected]> + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __AUTOBOOT_H +#define __AUTOBOOT_H + +#ifdef CONFIG_BOOTDELAY +void bootdelay_process(void); +#else +static inline void bootdelay_process(void) +{ +} +#endif + +#endif |
