Skip to content
Snippets Groups Projects
Commit 9be2e790 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

Drop use of CONFIG_SYS_GENERIC_BOARD in U-Boot


This option is always enabled and is about to be removed. Drop references
to it.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarAndreas Bießmann <andreas@biessmann.org>
parent 14c67eba
Branches
Tags
No related merge requests found
...@@ -26,8 +26,8 @@ obj-y += bootretry.o ...@@ -26,8 +26,8 @@ obj-y += bootretry.o
endif endif
# boards # boards
obj-$(CONFIG_SYS_GENERIC_BOARD) += board_f.o obj-y += board_f.o
obj-$(CONFIG_SYS_GENERIC_BOARD) += board_r.o obj-y += board_r.o
obj-$(CONFIG_DISPLAY_BOARDINFO) += board_info.o obj-$(CONFIG_DISPLAY_BOARDINFO) += board_info.o
obj-$(CONFIG_DISPLAY_BOARDINFO_LATE) += board_info.o obj-$(CONFIG_DISPLAY_BOARDINFO_LATE) += board_info.o
......
...@@ -47,12 +47,6 @@ void main_loop(void) ...@@ -47,12 +47,6 @@ void main_loop(void)
bootstage_mark_name(BOOTSTAGE_ID_MAIN_LOOP, "main_loop"); bootstage_mark_name(BOOTSTAGE_ID_MAIN_LOOP, "main_loop");
#ifndef CONFIG_SYS_GENERIC_BOARD
puts("Warning: Your board does not use generic board. Please read\n");
puts("doc/README.generic-board and take action. Boards not\n");
puts("upgraded by the late 2014 may break or be removed.\n");
#endif
#ifdef CONFIG_VERSION_VARIABLE #ifdef CONFIG_VERSION_VARIABLE
setenv("ver", version_string); /* set version variable */ setenv("ver", version_string); /* set version variable */
#endif /* CONFIG_VERSION_VARIABLE */ #endif /* CONFIG_VERSION_VARIABLE */
......
...@@ -21,8 +21,7 @@ ...@@ -21,8 +21,7 @@
int init_func_watchdog_reset(void); int init_func_watchdog_reset(void);
#endif #endif
#if defined(CONFIG_SYS_GENERIC_BOARD) && \ #if defined(CONFIG_WATCHDOG) || defined(CONFIG_HW_WATCHDOG)
(defined(CONFIG_WATCHDOG) || defined(CONFIG_HW_WATCHDOG))
#define INIT_FUNC_WATCHDOG_INIT init_func_watchdog_init, #define INIT_FUNC_WATCHDOG_INIT init_func_watchdog_init,
#define INIT_FUNC_WATCHDOG_RESET init_func_watchdog_reset, #define INIT_FUNC_WATCHDOG_RESET init_func_watchdog_reset,
#else #else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment