diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-03-21 06:04:04 -0400 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-03-23 06:11:38 -0400 |
commit | 77cc88d2b9848bac16c32c01eebf45f060f81f45 (patch) | |
tree | 9da9641b537d1c1dd65c7514f360cae137241f8f | |
parent | fb8ed2ca432443ef1898aad7501c6e63c5c94f8e (diff) |
mtd: nand: fsmc: remove unused definitions
These definitions are not used anywhere in the driver, so remove them.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
-rw-r--r-- | drivers/mtd/nand/fsmc_nand.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/mtd/nand/fsmc_nand.c b/drivers/mtd/nand/fsmc_nand.c index f611eb04184c..e35cabb2f51e 100644 --- a/drivers/mtd/nand/fsmc_nand.c +++ b/drivers/mtd/nand/fsmc_nand.c | |||
@@ -38,15 +38,6 @@ | |||
38 | #include <linux/amba/bus.h> | 38 | #include <linux/amba/bus.h> |
39 | #include <mtd/mtd-abi.h> | 39 | #include <mtd/mtd-abi.h> |
40 | 40 | ||
41 | #define FSMC_NAND_BW8 1 | ||
42 | #define FSMC_NAND_BW16 2 | ||
43 | |||
44 | #define FSMC_MAX_NOR_BANKS 4 | ||
45 | #define FSMC_MAX_NAND_BANKS 4 | ||
46 | |||
47 | #define FSMC_FLASH_WIDTH8 1 | ||
48 | #define FSMC_FLASH_WIDTH16 2 | ||
49 | |||
50 | /* fsmc controller registers for NOR flash */ | 41 | /* fsmc controller registers for NOR flash */ |
51 | #define CTRL 0x0 | 42 | #define CTRL 0x0 |
52 | /* ctrl register definitions */ | 43 | /* ctrl register definitions */ |