[U-Boot] [U-Boot, 09/13] rockchip: dts: set fifo mode as default for mmc

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Tue Jul 4 16:41:56 UTC 2017


This would be a change from the upstream DTSI file in Linux, which we
should try to avoid if possible.

Please handle this the same way as in Linux and fall back to fifo-mode
based on the transfer-mode bits [17:16] in HCON.

On Tue, 6 Jun 2017, Paweł Jarosz wrote:

> rk3066 and rk3188 designware mmc ip doesn't support internal dma
> transfer mode. So set fifo mode as default.
>
> Signed-off-by: Paweł Jarosz <paweljarosz3691 at gmail.com>
> Acked-by: Simon Glass <sjg at chromium.org>
> Acked-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> ---
> arch/arm/dts/rk3xxx.dtsi | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/arch/arm/dts/rk3xxx.dtsi b/arch/arm/dts/rk3xxx.dtsi
> index 6d9e36d..4a32e27 100644
> --- a/arch/arm/dts/rk3xxx.dtsi
> +++ b/arch/arm/dts/rk3xxx.dtsi
> @@ -192,6 +192,7 @@
> 		clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>;
> 		clock-names = "biu", "ciu";
> 		fifo-depth = <256>;
> +		fifo-mode;
> 		status = "disabled";
> 	};
>
> @@ -202,6 +203,7 @@
> 		clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>;
> 		clock-names = "biu", "ciu";
> 		fifo-depth = <256>;
> +		fifo-mode;
> 		status = "disabled";
> 	};
>
> @@ -212,6 +214,7 @@
> 		clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>;
> 		clock-names = "biu", "ciu";
> 		fifo-depth = <256>;
> +		fifo-mode;
> 		status = "disabled";
> 	};
>
>


More information about the U-Boot mailing list