[U-Boot] [PATCH v6 16/23] rockchip: mmc: get the fifo mode and fifo depth property from dts
Simon Glass
sjg at chromium.org
Thu Nov 19 13:31:05 CET 2015
On 16 November 2015 at 23:20, Lin Huang <hl at rock-chips.com> wrote:
> rk3036 mmc do not have internal dma, so we use fifo mode when read
> and write data, we get the fifo mode and fifo depth property from
> dts, pass to dw_mmc driver.
>
> Signed-off-by: Lin Huang <hl at 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:
> - Advices by Simon:
> - use int instead of u32 for fifo_depth
> - use fdtdec_get_bool() to get "fifo-mode" property
>
> arch/arm/dts/rk3036.dtsi | 1 +
> drivers/mmc/rockchip_dw_mmc.c | 21 +++++++++++++++++----
> 2 files changed, 18 insertions(+), 4 deletions(-)
Acked-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list