diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-06-05 04:55:32 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-11-12 02:32:53 -0500 |
commit | 0e60c7c4015f051ff921e6c30844f31e17f8ad95 (patch) | |
tree | dc52a74cf9e0fa67b0dfc42428bb495538dd72aa /drivers/mtd/nand | |
parent | c5d23f1bf384e4a17bc4a014313a4157c015a820 (diff) |
mxc_nand: remove unused defines
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r-- | drivers/mtd/nand/mxc_nand.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c index 1131ad126fd2..ab6db698cbd8 100644 --- a/drivers/mtd/nand/mxc_nand.c +++ b/drivers/mtd/nand/mxc_nand.c | |||
@@ -122,13 +122,6 @@ struct mxc_nand_host { | |||
122 | 122 | ||
123 | /* Define delays in microsec for NAND device operations */ | 123 | /* Define delays in microsec for NAND device operations */ |
124 | #define TROP_US_DELAY 2000 | 124 | #define TROP_US_DELAY 2000 |
125 | /* Macros to get byte and bit positions of ECC */ | ||
126 | #define COLPOS(x) ((x) >> 3) | ||
127 | #define BITPOS(x) ((x) & 0xf) | ||
128 | |||
129 | /* Define single bit Error positions in Main & Spare area */ | ||
130 | #define MAIN_SINGLEBIT_ERROR 0x4 | ||
131 | #define SPARE_SINGLEBIT_ERROR 0x1 | ||
132 | 125 | ||
133 | /* OOB placement block for use with hardware ecc generation */ | 126 | /* OOB placement block for use with hardware ecc generation */ |
134 | static struct nand_ecclayout nand_hw_eccoob_smallpage = { | 127 | static struct nand_ecclayout nand_hw_eccoob_smallpage = { |