summaryrefslogtreecommitdiffstats
path: root/cpu/mpc8260/bedbug_603e.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@jdl.com>2007-06-11 19:03:08 -0500
committerWolfgang Denk <wd@denx.de>2007-07-04 00:23:18 +0200
commitf48070fe5fe440dfb5ee5268c920de70e48ea327 (patch)
tree0ba72bc0553776081d61bd5de50e885ef5617cc8 /cpu/mpc8260/bedbug_603e.c
parent0c505db0a0dc1f670b13ce3b4d3fbf1ec5b3cbd2 (diff)
downloadblackbird-obmc-uboot-f48070fe5fe440dfb5ee5268c920de70e48ea327.tar.gz
blackbird-obmc-uboot-f48070fe5fe440dfb5ee5268c920de70e48ea327.zip
cpu/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/mpc8260/bedbug_603e.c')
-rw-r--r--cpu/mpc8260/bedbug_603e.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpu/mpc8260/bedbug_603e.c b/cpu/mpc8260/bedbug_603e.c
index be09cfb5c6..7ca193d46c 100644
--- a/cpu/mpc8260/bedbug_603e.c
+++ b/cpu/mpc8260/bedbug_603e.c
@@ -10,7 +10,8 @@
#include <bedbug/regs.h>
#include <bedbug/ppc.h>
-#if (CONFIG_COMMANDS & CFG_CMD_BEDBUG) && (defined(CONFIG_MPC824X) || defined(CONFIG_MPC8260))
+#if ((CONFIG_COMMANDS & CFG_CMD_BEDBUG) || defined(CONFIG_CMD_BEDBUG)) \
+ && (defined(CONFIG_MPC824X) || defined(CONFIG_MPC8260))
#define MAX_BREAK_POINTS 1
OpenPOWER on IntegriCloud