summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHeiko Schocher <[email protected]>2014-10-31 08:31:02 +0100
committerTom Rini <[email protected]>2014-11-17 08:47:17 -0500
commit4dfd36058955550d4a82787a3d2e548faf404f73 (patch)
treed5fff21d73eeb48420ef73a69607c1d402693747 /include
parentc1ec4062825284d77552cedcaffe9cb08079d677 (diff)
spl, nand, atmel_nand: add erase one block function
erase one nand block in spl code. keep it simple, as size matters This is used on the upcoming taurus spl support. Signed-off-by: Heiko Schocher <[email protected]> Acked-by: Scott Wood <[email protected]> Reviewed-by: Bo Shen <[email protected]> Reviewed-by: Andreas Bießmann <[email protected]> Signed-off-by: Andreas Bießmann <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/nand.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/nand.h b/include/nand.h
index fc735d1ec44..15e31ab538b 100644
--- a/include/nand.h
+++ b/include/nand.h
@@ -167,3 +167,4 @@ __attribute__((noreturn)) void nand_boot(void);
#define ENV_OFFSET_SIZE 8
int get_nand_env_oob(nand_info_t *nand, unsigned long *result);
#endif
+int spl_nand_erase_one(int block, int page);