summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx/bedbug_405.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@jdl.com>2007-06-11 19:03:15 -0500
committerWolfgang Denk <wd@denx.de>2007-07-04 00:34:13 +0200
commit737184114ec9c9e0ab94d6713536126073bd2472 (patch)
tree5de22358151a2e460d025298a462b704ee522976 /cpu/ppc4xx/bedbug_405.c
parentf48070fe5fe440dfb5ee5268c920de70e48ea327 (diff)
downloadu-boot-imx-737184114ec9c9e0ab94d6713536126073bd2472.zip
u-boot-imx-737184114ec9c9e0ab94d6713536126073bd2472.tar.gz
u-boot-imx-737184114ec9c9e0ab94d6713536126073bd2472.tar.bz2
cpu/ non-mpc*: 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 'cpu/ppc4xx/bedbug_405.c')
-rw-r--r--cpu/ppc4xx/bedbug_405.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/ppc4xx/bedbug_405.c b/cpu/ppc4xx/bedbug_405.c
index a3c2119..f646ea6 100644
--- a/cpu/ppc4xx/bedbug_405.c
+++ b/cpu/ppc4xx/bedbug_405.c
@@ -10,7 +10,7 @@
#include <bedbug/regs.h>
#include <bedbug/ppc.h>
-#if (CONFIG_COMMANDS & CFG_CMD_BEDBUG) && defined(CONFIG_4xx)
+#if ((CONFIG_COMMANDS & CFG_CMD_BEDBUG) || defined(CONFIG_CMD_BEDBUG)) && defined(CONFIG_4xx)
#define MAX_BREAK_POINTS 4