summaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-07-18 15:10:50 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-07-23 16:25:13 +0200
commit66891566ccf72c19c3c25182f98eda4dc2a8ad3e (patch)
tree354cfc51aaba34cb14ba5802d8a60cb60c2cc91c /include/asm-generic
parent69f3d6c93b814c3464dea57538b90552de14caf4 (diff)
downloadbarebox-66891566ccf72c19c3c25182f98eda4dc2a8ad3e.tar.gz
barebox-66891566ccf72c19c3c25182f98eda4dc2a8ad3e.tar.xz
mtd: nand: update to v3.11-rc1
This updates the NAND stuff to Linux-3.11-rc1. It is synchronized as best as we can get: - locks removed - The splitting in different files we had to better support different features has been dropped. Instead this is now done mostly with the use of __maybe_unused Some barebox adjustments are forward ported, like: - Allow partial page writes - Optionally allow to erase bad blocks - check for all_ff before writing a page Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/errno.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-generic/errno.h b/include/asm-generic/errno.h
index 134a8fc99c..bbf493c373 100644
--- a/include/asm-generic/errno.h
+++ b/include/asm-generic/errno.h
@@ -133,6 +133,8 @@
#define ERESTARTNOHAND 514 /* restart if no handler.. */
#define ENOIOCTLCMD 515 /* No ioctl command */
-#define _LAST_ERRNO 515
+#define ENOTSUPP 524 /* Operation is not supported */
+
+#define _LAST_ERRNO 524
#endif