From 7fae9e249367172d225b7fc9e62d9f3e96fcd8e5 Mon Sep 17 00:00:00 2001
From: Vasili Galka <vvv444@gmail.com>
Date: Sun, 15 Jun 2014 18:41:16 +0300
Subject: [PATCH] m68k: Remove CONFIG_CMD_BEDBUG related code

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@gmail.com>
---
 arch/m68k/lib/board.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/arch/m68k/lib/board.c b/arch/m68k/lib/board.c
index 6de920eb437..9caff735055 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,
-- 
GitLab