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 <paweljarosz3...@gmail.com>
Acked-by: Simon Glass <s...@chromium.org>
Acked-by: Philipp Tomsich <philipp.toms...@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";
        };


_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to