Skip to content
Snippets Groups Projects
Commit 7abd3ef9 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

[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: default avatarThomas Gleixner <tglx@linutronix.de>
parent 3821720d
No related branches found
No related tags found
Loading
Showing
with 430 additions and 543 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment