summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2016-02-09 12:55:58 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2016-03-09 15:03:32 +0100
commit204c3595d33883a3e495f6ed89317bee291d3ceb (patch)
tree52469c711f20bd6eca4bd9decc5eb0507abe0ef7
parentad7dae9fc043b2d633280b624dc89e831ddc0d57 (diff)
cmd_nand.c: make raw_access() extern
We need raw nand access to write the fcb in cmd_writebcb_mx7. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
-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;