summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/cmd_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_nand.c b/common/cmd_nand.c
index 17fa7ea6bd..dadf6e925e 100644
--- a/common/cmd_nand.c
+++ b/common/cmd_nand.c
@@ -404,7 +404,7 @@ static void nand_print_and_set_info(int idx)
setenv_hex("nand_erasesize", nand->erasesize);
}
-static int raw_access(nand_info_t *nand, ulong addr, loff_t off, ulong count,
+int raw_access(nand_info_t *nand, ulong addr, loff_t off, ulong count,
int read)
{
int ret = 0;