On 16 November 2015 at 23:20, Lin Huang <h...@rock-chips.com> wrote: > some soc(rk3036 etc) use dw_mmc but do not have internal dma, > so we implement fifo mode to read and write data. > > Signed-off-by: Lin Huang <h...@rock-chips.com> > --- > Changes in v1: None > Changes in v2: None > Changes in v3: None > Changes in v4: None > Changes in v5: None > Changes in v6: > - move data fifo mode to dwmci_data_transfer() function > > drivers/mmc/dw_mmc.c | 85 > +++++++++++++++++++++++++++++++++++++++++----------- > include/dwmmc.h | 5 ++++ > 2 files changed, 72 insertions(+), 18 deletions(-)
I suspect this could be a little tidier but it seems reasonable to me. Acked-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot