aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-06-05 10:55:32 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-11-12 08:32:53 +0100
commit0e60c7c4015f051ff921e6c30844f31e17f8ad95 (patch)
treedc52a74cf9e0fa67b0dfc42428bb495538dd72aa /drivers/mtd
parentc5d23f1bf384e4a17bc4a014313a4157c015a820 (diff)
downloadkernel_samsung_crespo-0e60c7c4015f051ff921e6c30844f31e17f8ad95.zip
kernel_samsung_crespo-0e60c7c4015f051ff921e6c30844f31e17f8ad95.tar.gz
kernel_samsung_crespo-0e60c7c4015f051ff921e6c30844f31e17f8ad95.tar.bz2
mxc_nand: remove unused defines
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/mxc_nand.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c
index 1131ad1..ab6db69 100644
--- a/drivers/mtd/nand/mxc_nand.c
+++ b/drivers/mtd/nand/mxc_nand.c
@@ -122,13 +122,6 @@ struct mxc_nand_host {
/* Define delays in microsec for NAND device operations */
#define TROP_US_DELAY 2000
-/* Macros to get byte and bit positions of ECC */
-#define COLPOS(x) ((x) >> 3)
-#define BITPOS(x) ((x) & 0xf)
-
-/* Define single bit Error positions in Main & Spare area */
-#define MAIN_SINGLEBIT_ERROR 0x4
-#define SPARE_SINGLEBIT_ERROR 0x1
/* OOB placement block for use with hardware ecc generation */
static struct nand_ecclayout nand_hw_eccoob_smallpage = {