3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 * Add to readline cmdline-editing by
7 * JinHua Luo, GuangDong Linux Center, <luo.jinhua@gd-linux.com>
9 * SPDX-License-Identifier: GPL-2.0+
15 #ifdef CONFIG_AUTOBOOT
17 * bootdelay_process() - process the bootd delay
19 * Process the boot delay, boot limit, then get the value of either
20 * bootcmd, failbootcmd or altbootcmd depending on the current state.
21 * Return this command so it can be executed.
23 * @return command to executed
25 const char *bootdelay_process(void);
28 * autoboot_command() - run the autoboot command
30 * If enabled, run the autoboot command returned from bootdelay_process().
31 * Also do the CONFIG_MENUKEY processing if enabled.
33 * @cmd: Command to run
35 void autoboot_command(const char *cmd);
37 static inline const char *bootdelay_process(void)
42 static inline void autoboot_command(const char *s)