summaryrefslogtreecommitdiff
path: root/common/kgdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/kgdb.c')
-rw-r--r--common/kgdb.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/common/kgdb.c b/common/kgdb.c
index adc15dd79..862f3684e 100644
--- a/common/kgdb.c
+++ b/common/kgdb.c
@@ -92,8 +92,6 @@
#include <kgdb.h>
#include <command.h>
-#if defined(CONFIG_CMD_KGDB)
-
#undef KGDB_DEBUG
/*
@@ -575,7 +573,7 @@ do_kgdb(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
U_BOOT_CMD(
kgdb, CONFIG_SYS_MAXARGS, 1, do_kgdb,
- "kgdb - enter gdb remote debug mode\n",
+ "enter gdb remote debug mode",
"[arg0 arg1 .. argN]\n"
" - executes a breakpoint so that kgdb mode is\n"
" entered via the exception handler. To return\n"
@@ -587,8 +585,3 @@ U_BOOT_CMD(
" program if it is executed (see the \"hello_world\"\n"
" example program in the U-Boot examples directory)."
);
-#else
-
-int kgdb_not_configured = 1;
-
-#endif