[U-Boot] [PATCH] km/common: remove unused code

Holger Brunck holger.brunck at keymile.com
Fri Jun 30 13:33:35 UTC 2017


The 82xx board mgcoge3ne was removed from the codebase, so this is dead
code.

Signed-off-by: Holger Brunck <holger.brunck at keymile.com>
Cc: Heiko Schocher <hs at denx.de>
---
 board/keymile/common/common.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/board/keymile/common/common.c b/board/keymile/common/common.c
index 0829b7fa06..408079c9a1 100644
--- a/board/keymile/common/common.c
+++ b/board/keymile/common/common.c
@@ -355,9 +355,6 @@ static int do_checktestboot(cmd_tbl_t *cmdtp, int flag, int argc,
 #if defined(CONFIG_POST)
 	testpin = post_hotkeys_pressed();
 #endif
-#if defined(CONFIG_MGCOGE3NE)
-	testpin = get_testpin();
-#endif
 	s = getenv("test_bank");
 	/* when test_bank is not set, act as if testpin is not asserted */
 	testboot = (testpin != 0) && (s);
-- 
2.12.0.rc1


More information about the U-Boot mailing list