summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/nand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/nand.c b/cmd/nand.c
index c16ec77ed4..ea6e17afc6 100644
--- a/cmd/nand.c
+++ b/cmd/nand.c
@@ -304,8 +304,8 @@ static void nand_print_and_set_info(int idx)
setenv_hex("nand_erasesize", mtd->erasesize);
}
-static int raw_access(struct mtd_info *mtd, ulong addr, loff_t off,
- ulong count, int read, int no_verify)
+int raw_access(struct mtd_info *mtd, ulong addr, loff_t off,
+ ulong count, int read, int no_verify)
{
int ret = 0;