From 063ae006aedf1f828d8e23177eb8e049ce4fe968 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 15 May 2013 06:23:55 +0000 Subject: main: Separate out the two abortboot() functions There are two implementations of abortboot(). Turn these into two separate functions, and create a single abortboot() which calls either one or the other. Also it seems that nothing uses abortboot() outside main, so make it static. At this point there is no further use of CONFIG_MENU in main.c. Signed-off-by: Simon Glass Reviewed-by: Joe Hershberger --- include/common.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') diff --git a/include/common.h b/include/common.h index e682bd82377..126891d6587 100644 --- a/include/common.h +++ b/include/common.h @@ -310,9 +310,6 @@ int readline_into_buffer(const char *const prompt, char *buffer, int parse_line (char *, char *[]); void init_cmd_timeout(void); void reset_cmd_timeout(void); -#ifdef CONFIG_MENU -int abortboot(int bootdelay); -#endif extern char console_buffer[]; /* arch/$(ARCH)/lib/board.c */ -- cgit v1.2.3