aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@cruncher.tec.linutronix.de>2006-05-26 18:47:18 -0400
committerThomas Gleixner <tglx@cruncher.tec.linutronix.de>2006-05-26 18:47:18 -0400
commitcca3b837bbb4c984165f9f9c7c06846bc0425791 (patch)
tree4bc0cde8cb73b5a5e74220072de5db8a9d1448aa /drivers/mtd
parent29da9cea46f65cb9488641354fe554e9ef8a3a85 (diff)
[MTD] NAND simplify nand_chip_select
nCE setting can be done when the first command is issued to the device. We keep the deselect functionality as it makes sense to deassert nCE when the device becomes idle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/nand_base.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
index bb18476acd7b..0c8da8fab89d 100644
--- a/drivers/mtd/nand/nand_base.c
+++ b/drivers/mtd/nand/nand_base.c
@@ -174,8 +174,6 @@ static void nand_select_chip(struct mtd_info *mtd, int chipnr)
174 chip->cmd_ctrl(mtd, NAND_CMD_NONE, 0 | NAND_CTRL_CHANGE); 174 chip->cmd_ctrl(mtd, NAND_CMD_NONE, 0 | NAND_CTRL_CHANGE);
175 break; 175 break;
176 case 0: 176 case 0:
177 chip->cmd_ctrl(mtd, NAND_CMD_NONE,
178 NAND_NCE | NAND_CTRL_CHANGE);
179 break; 177 break;
180 178
181 default: 179 default: