[U-Boot] [PATCH v4 13/20] rockchip: Add an rk3036 MMC driver

Simon Glass sjg at chromium.org
Mon Nov 9 21:23:59 CET 2015


Hi Lin,

On 9 November 2015 at 00:02, Lin Huang <hl at rock-chips.com> wrote:
> rk3036 mmc driver is similar to dw_mmc, but use external dma,
> this patch implment fifo mode, need to do dma mode in future.

What is the plan to merge this driver with the dwmmc one? Also the
other code seems very similar to rockchip_dw_mmc.c  - can we combine
these?

>
> Signed-off-by: Lin Huang <hl at rock-chips.com>
> ---
> Changes in v1:
> - clean copyright announcement
> Changes in v2:
> - modify code suggest by Simon:
> - use get_time() to do timeout
> Changes in v3:
> - extend read and write data timeout time
> - fix write data read fifo length bug
> Changes in v4: None
>
>  drivers/mmc/Kconfig                |   9 +
>  drivers/mmc/Makefile               |   1 +
>  drivers/mmc/rockchip_3036_dw_mmc.c | 485 +++++++++++++++++++++++++++++++++++++
>  3 files changed, 495 insertions(+)
>  create mode 100644 drivers/mmc/rockchip_3036_dw_mmc.c

Regards,
Simon


More information about the U-Boot mailing list