• S
    mxc nand: use buffers · f8f9608d
    Sascha Hauer 提交于
    The NAND controller has some limitations how to access the
    internal buffers. It only allows 32 bit accesses. The driver
    used to work around this by having special alignment aware
    copy routines.
    We now copy the whole page to a buffer in memory and let the
    access functions use this buffer. This simplifies the driver.
    A bonnie++ test showed that this has no negative performance
    impact on the driver.
    Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
    f8f9608d
mxc_nand.c 22.2 KB