summaryrefslogtreecommitdiff
path: root/lib_ppc/kgdb.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@jdl.com>2007-06-11 19:02:58 -0500
committerWolfgang Denk <wd@denx.de>2007-07-04 00:23:16 +0200
commit73f032021ec5f13cda8faa4e34b6de80960eb86f (patch)
treea492327da5ee32d9594fb6f57a0b928d9d4e82b8 /lib_ppc/kgdb.c
parent98b79003c21c2578206003256de4e781d6b36ca8 (diff)
downloadu-boot-imx-73f032021ec5f13cda8faa4e34b6de80960eb86f.zip
u-boot-imx-73f032021ec5f13cda8faa4e34b6de80960eb86f.tar.gz
u-boot-imx-73f032021ec5f13cda8faa4e34b6de80960eb86f.tar.bz2
lib_ppc/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
This is a compatibility step that allows both the older form and the new form to co-exist for a while until the older can be removed entirely. All transformations are of the form: Before: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) After: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT) Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'lib_ppc/kgdb.c')
-rw-r--r--lib_ppc/kgdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_ppc/kgdb.c b/lib_ppc/kgdb.c
index 4c5d79a..243d311 100644
--- a/lib_ppc/kgdb.c
+++ b/lib_ppc/kgdb.c
@@ -1,7 +1,7 @@
#include <common.h>
#include <command.h>
-#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
+#if (CONFIG_COMMANDS & CFG_CMD_KGDB) || defined(CONFIG_CMD_KGDB)
#include <kgdb.h>
#include <asm/signal.h>