aboutsummaryrefslogtreecommitdiff
path: root/include/nand.h
diff options
context:
space:
mode:
authorSean Anderson2023-11-04 16:37:50 -0400
committerTom Rini2023-11-16 12:43:49 -0500
commit333d43f6a3e2aa1d6249d22211d77802614e37e5 (patch)
treed7ae44044eb9b6536e42b1ed85e257017da4a7c4 /include/nand.h
parentc2034821772898b54d745e79fc96586cebaae12c (diff)
nand: Allow reinitialization
NAND devices are destroyed in between unit tests. Provide a function to reinitialize the subsystem at the beginning of each test. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Diffstat (limited to 'include/nand.h')
-rw-r--r--include/nand.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/nand.h b/include/nand.h
index fc584f5ef7a..220ffa202ef 100644
--- a/include/nand.h
+++ b/include/nand.h
@@ -11,6 +11,7 @@
#include <config.h>
extern void nand_init(void);
+void nand_reinit(void);
unsigned long nand_size(void);
unsigned int nand_page_size(void);