mpc86xx: Remove old CFG_CMD_* references.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
This commit is contained in:
parent
46175d9764
commit
b24629fa37
|
@ -34,7 +34,7 @@
|
||||||
#include <command.h>
|
#include <command.h>
|
||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
|
|
||||||
#if (CONFIG_COMMANDS & CFG_CMD_KGDB) || defined(CONFIG_CMD_KGDB)
|
#if defined(CONFIG_CMD_KGDB)
|
||||||
int (*debugger_exception_handler)(struct pt_regs *) = 0;
|
int (*debugger_exception_handler)(struct pt_regs *) = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -122,7 +122,7 @@ MachineCheckException(struct pt_regs *regs)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if (CONFIG_COMMANDS & CFG_CMD_KGDB) || defined(CONFIG_CMD_KGDB)
|
#if defined(CONFIG_CMD_KGDB)
|
||||||
if (debugger_exception_handler && (*debugger_exception_handler) (regs))
|
if (debugger_exception_handler && (*debugger_exception_handler) (regs))
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
@ -155,7 +155,7 @@ MachineCheckException(struct pt_regs *regs)
|
||||||
void
|
void
|
||||||
AlignmentException(struct pt_regs *regs)
|
AlignmentException(struct pt_regs *regs)
|
||||||
{
|
{
|
||||||
#if (CONFIG_COMMANDS & CFG_CMD_KGDB) || defined(CONFIG_CMD_KGDB)
|
#if defined(CONFIG_CMD_KGDB)
|
||||||
if (debugger_exception_handler && (*debugger_exception_handler) (regs))
|
if (debugger_exception_handler && (*debugger_exception_handler) (regs))
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
@ -170,7 +170,7 @@ ProgramCheckException(struct pt_regs *regs)
|
||||||
unsigned char *p = regs ? (unsigned char *)(regs->nip) : NULL;
|
unsigned char *p = regs ? (unsigned char *)(regs->nip) : NULL;
|
||||||
int i, j;
|
int i, j;
|
||||||
|
|
||||||
#if (CONFIG_COMMANDS & CFG_CMD_KGDB) || defined(CONFIG_CMD_KGDB)
|
#if defined(CONFIG_CMD_KGDB)
|
||||||
if (debugger_exception_handler && (*debugger_exception_handler) (regs))
|
if (debugger_exception_handler && (*debugger_exception_handler) (regs))
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
@ -193,7 +193,7 @@ ProgramCheckException(struct pt_regs *regs)
|
||||||
void
|
void
|
||||||
SoftEmuException(struct pt_regs *regs)
|
SoftEmuException(struct pt_regs *regs)
|
||||||
{
|
{
|
||||||
#if (CONFIG_COMMANDS & CFG_CMD_KGDB) || defined(CONFIG_CMD_KGDB)
|
#if defined(CONFIG_CMD_KGDB)
|
||||||
if (debugger_exception_handler && (*debugger_exception_handler) (regs))
|
if (debugger_exception_handler && (*debugger_exception_handler) (regs))
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
@ -205,7 +205,7 @@ SoftEmuException(struct pt_regs *regs)
|
||||||
void
|
void
|
||||||
UnknownException(struct pt_regs *regs)
|
UnknownException(struct pt_regs *regs)
|
||||||
{
|
{
|
||||||
#if (CONFIG_COMMANDS & CFG_CMD_KGDB) || defined(CONFIG_CMD_KGDB)
|
#if defined(CONFIG_CMD_KGDB)
|
||||||
if (debugger_exception_handler && (*debugger_exception_handler) (regs))
|
if (debugger_exception_handler && (*debugger_exception_handler) (regs))
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue