projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86: pci: Do not assign irq 0 to pci device
[oweals/u-boot.git]
/
common
/
cmd_dcr.c
diff --git
a/common/cmd_dcr.c
b/common/cmd_dcr.c
index 896f79f416c3a10128525cb91576fc285945dfd1..4fddd804abd9bbad5b3c682dbe5211151a47b3a0 100644
(file)
--- a/
common/cmd_dcr.c
+++ b/
common/cmd_dcr.c
@@
-10,6
+10,7
@@
*/
#include <common.h>
*/
#include <common.h>
+#include <cli.h>
#include <config.h>
#include <command.h>
#include <config.h>
#include <command.h>
@@
-62,7
+63,7
@@
int do_setdcr (cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
do {
value = get_dcr (dcrn);
printf ("%04x: %08lx", dcrn, value);
do {
value = get_dcr (dcrn);
printf ("%04x: %08lx", dcrn, value);
- nbytes =
readline
(" ? ");
+ nbytes =
cli_readline
(" ? ");
if (nbytes == 0) {
/*
* <CR> pressed as only input, don't modify current
if (nbytes == 0) {
/*
* <CR> pressed as only input, don't modify current