Commit 0e60c7c4 authored by Sascha Hauer's avatar Sascha Hauer

mxc_nand: remove unused defines

Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
parent c5d23f1b
...@@ -122,13 +122,6 @@ struct mxc_nand_host { ...@@ -122,13 +122,6 @@ struct mxc_nand_host {
/* Define delays in microsec for NAND device operations */ /* Define delays in microsec for NAND device operations */
#define TROP_US_DELAY 2000 #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 */ /* OOB placement block for use with hardware ecc generation */
static struct nand_ecclayout nand_hw_eccoob_smallpage = { static struct nand_ecclayout nand_hw_eccoob_smallpage = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment