]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[MTD] Refactor NAND hwcontrol to cmd_ctrl
authorThomas Gleixner <tglx@cruncher.tec.linutronix.de>
Tue, 23 May 2006 21:25:53 +0000 (23:25 +0200)
committerThomas Gleixner <tglx@cruncher.tec.linutronix.de>
Tue, 23 May 2006 21:25:53 +0000 (23:25 +0200)
commit7abd3ef9875eb2afcdcd4f450680298a2983a55e
tree64c19d2e5ecca182938acfcb8a172efb7d907d85
parent3821720d51b5f304d2c33021a82c8da70f6d6ac9
[MTD] Refactor NAND hwcontrol to cmd_ctrl

The hwcontrol function enforced a step by step state machine
for any kind of hardware chip access. Let the hardware driver
know which control bits are set and inform it about a change
of the control lines. Let the hardware driver write out the
command and address bytes directly. This gives a peformance
advantage for address bus controlled chips and simplifies the
quirks in the hardware drivers.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
18 files changed:
drivers/mtd/nand/ams-delta.c
drivers/mtd/nand/au1550nd.c
drivers/mtd/nand/autcpu12.c
drivers/mtd/nand/cs553x_nand.c
drivers/mtd/nand/diskonchip.c
drivers/mtd/nand/edb7312.c
drivers/mtd/nand/h1910.c
drivers/mtd/nand/nand_base.c
drivers/mtd/nand/nandsim.c
drivers/mtd/nand/ndfc.c
drivers/mtd/nand/ppchameleonevb.c
drivers/mtd/nand/rtc_from4.c
drivers/mtd/nand/s3c2410.c
drivers/mtd/nand/sharpsl.c
drivers/mtd/nand/spia.c
drivers/mtd/nand/toto.c
drivers/mtd/nand/ts7250.c
include/linux/mtd/nand.h