summaryrefslogtreecommitdiff
path: root/cpu/mpc824x
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-09 19:06:00 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-09 19:06:00 -0500
commit4431283c7e6d54ae180d466e51bf2d97471a0ad9 (patch)
treea8001e769b6478c615c62e423d4f1542e5060fe4 /cpu/mpc824x
parent3a1ed1e1f922c419bb71f7df4949d783ade369fa (diff)
downloadu-boot-imx-4431283c7e6d54ae180d466e51bf2d97471a0ad9.zip
u-boot-imx-4431283c7e6d54ae180d466e51bf2d97471a0ad9.tar.gz
u-boot-imx-4431283c7e6d54ae180d466e51bf2d97471a0ad9.tar.bz2
cpu/m*: Remove obsolete references to CONFIG_COMMANDS
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'cpu/mpc824x')
-rw-r--r--cpu/mpc824x/traps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/mpc824x/traps.c b/cpu/mpc824x/traps.c
index e93cffb..0a72430 100644
--- a/cpu/mpc824x/traps.c
+++ b/cpu/mpc824x/traps.c
@@ -175,7 +175,7 @@ UnknownException(struct pt_regs *regs)
_exception(0, regs);
}
-#if (CONFIG_COMMANDS & CFG_CMD_BEDBUG) || defined(CONFIG_CMD_BEDBUG)
+#if defined(CONFIG_CMD_BEDBUG)
extern void do_bedbug_breakpoint(struct pt_regs *);
#endif
@@ -185,7 +185,7 @@ DebugException(struct pt_regs *regs)
printf("Debugger trap at @ %lx\n", regs->nip );
show_regs(regs);
-#if (CONFIG_COMMANDS & CFG_CMD_BEDBUG) || defined(CONFIG_CMD_BEDBUG)
+#if defined(CONFIG_CMD_BEDBUG)
do_bedbug_breakpoint( regs );
#endif
}