projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cpu/ppc4xx/fdt.c: avoid strcpy() to constant string
[oweals/u-boot.git]
/
cpu
/
mpc8xx
/
bedbug_860.c
diff --git
a/cpu/mpc8xx/bedbug_860.c
b/cpu/mpc8xx/bedbug_860.c
index 4516f2f48ea477ba49db4d333c9ba3430b28fc1b..0308bbbf7a8439c9c38783c1f7c995563ee1cd1c 100644
(file)
--- a/
cpu/mpc8xx/bedbug_860.c
+++ b/
cpu/mpc8xx/bedbug_860.c
@@
-10,7
+10,7
@@
#include <bedbug/ppc.h>
#include <bedbug/type.h>
#include <bedbug/ppc.h>
#include <bedbug/type.h>
-#if
((CONFIG_COMMANDS & CFG_CMD_BEDBUG) || defined(CONFIG_CMD_BEDBUG)
) && defined(CONFIG_8xx)
+#if
defined(CONFIG_CMD_BEDBUG
) && defined(CONFIG_8xx)
#define MAX_BREAK_POINTS 2
#define MAX_BREAK_POINTS 2
@@
-71,7
+71,7
@@
void bedbug860_do_break (cmd_tbl_t *cmdtp, int flag, int argc,
if (argc < 2)
{
if (argc < 2)
{
-
printf ("Usage:\n%s\n", cmdtp->usage
);
+
cmd_usage(cmdtp
);
return;
}
return;
}
@@
-122,7
+122,7
@@
void bedbug860_do_break (cmd_tbl_t *cmdtp, int flag, int argc,
if( !isdigit( argv[ 1 ][ 0 ]))
{
if( !isdigit( argv[ 1 ][ 0 ]))
{
-
printf ("Usage:\n%s\n", cmdtp->usage
);
+
cmd_usage(cmdtp
);
return;
}
return;
}