[U-Boot] [PATCH] m68k: Remove CONFIG_CMD_BEDBUG related code

Vasili Galka vvv444 at gmail.com
Sun Jun 15 17:41:16 CEST 2014


This flag does not compile on m68k since 2003 (8bde7f7) when a
required "cmd_bedbug.h" header was removed. Eleven years passed,
lets clean up a little...

Signed-off-by: Vasili Galka <vvv444 at gmail.com>
---
 arch/m68k/lib/board.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/arch/m68k/lib/board.c b/arch/m68k/lib/board.c
index 6de920e..9caff73 100644
--- a/arch/m68k/lib/board.c
+++ b/arch/m68k/lib/board.c
@@ -31,9 +31,6 @@
 #endif
 #include <net.h>
 #include <serial.h>
-#if defined(CONFIG_CMD_BEDBUG)
-#include <cmd_bedbug.h>
-#endif
 #ifdef CONFIG_SYS_ALLOC_DPRAM
 #include <commproc.h>
 #endif
@@ -602,11 +599,6 @@ void board_init_r (gd_t *id, ulong dest_addr)
 	last_stage_init ();
 #endif
 
-#if defined(CONFIG_CMD_BEDBUG)
-	WATCHDOG_RESET ();
-	bedbug_init ();
-#endif
-
 #if defined(CONFIG_PRAM) || defined(CONFIG_LOGBUFFER)
 	/*
 	 * Export available size of memory for Linux,
-- 
1.7.9



More information about the U-Boot mailing list