summaryrefslogtreecommitdiff
path: root/common/cmd_nand.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_nand.c')
-rw-r--r--common/cmd_nand.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/cmd_nand.c b/common/cmd_nand.c
index 17fa7ea6bd..270cebcc55 100644
--- a/common/cmd_nand.c
+++ b/common/cmd_nand.c
@@ -404,7 +404,9 @@ 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,
+extern int raw_access(nand_info_t *nand, ulong addr, loff_t off, ulong count,
+ int read);
+int raw_access(nand_info_t *nand, ulong addr, loff_t off, ulong count,
int read)
{
int ret = 0;