summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2009-04-01 15:33:24 -0500
committerScott Wood <scottwood@freescale.com>2009-04-03 15:27:26 -0500
commit99067b08f4a0ce20ff337a35211239f334d8f451 (patch)
tree311ff7bf47aa9f38c01b33f713a431dd2ffe5e67 /common
parent69bcabb51686fdd133cb1848c0d3b0a4fc6ca5cf (diff)
downloadbootable_bootloader_goldelico_gta04-99067b08f4a0ce20ff337a35211239f334d8f451.zip
bootable_bootloader_goldelico_gta04-99067b08f4a0ce20ff337a35211239f334d8f451.tar.gz
bootable_bootloader_goldelico_gta04-99067b08f4a0ce20ff337a35211239f334d8f451.tar.bz2
Noisily disable the legacy NAND subsystem.
Legacy NAND is marked for feature removal after April 2009 (i.e. this upcoming release). There are still several boards that reference it (though many do so only for disk-on-chip support which has been silently disabled for a while now). These boards will now fail to build with #error, though the code is still there if the user removes #error. The plan is to remove the code outright in the next release, along with any board code that refers to it (such as board/esd/common/auto_update.c). Also, remove the legacy NAND API description from README.nand. Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_doc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/cmd_doc.c b/common/cmd_doc.c
index e2d4a42..3385c67 100644
--- a/common/cmd_doc.c
+++ b/common/cmd_doc.c
@@ -14,6 +14,10 @@
#include <linux/mtd/nftl.h>
#include <linux/mtd/doc2000.h>
+#error This code is broken and will be removed outright in the next release.
+#error If you need diskonchip support, please update the Linux driver in
+#error drivers/mtd/nand/diskonchip.c to work with u-boot.
+
/*
* ! BROKEN !
*