• Thomas Gleixner's avatar
    [MTD] Refactor NAND hwcontrol to cmd_ctrl · 7abd3ef9
    Thomas Gleixner authored
    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>
    7abd3ef9
edb7312.c 5.13 KB