summaryrefslogtreecommitdiff
path: root/cmd/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/read.c')
-rw-r--r--cmd/read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/read.c b/cmd/read.c
index ecf9254..caabf1f 100644
--- a/cmd/read.c
+++ b/cmd/read.c
@@ -12,7 +12,7 @@
#include <command.h>
#include <part.h>
-int do_read(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+int do_raw_read(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
char *ep;
struct blk_desc *dev_desc = NULL;
@@ -75,7 +75,7 @@ int do_read(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
}
U_BOOT_CMD(
- read, 6, 0, do_read,
+ read, 6, 0, do_raw_read,
"Load binary data from a partition",
"<interface> <dev[:part]> addr blk# cnt"
);