mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-29 02:01:21 +00:00
* Updated rockchip64-dev to u-boot v2019.10 and BL31 v1.30 (rk3399 boards) * Updated rk3399 to u-boot v2019.10 and BL31 v1.30 * Revert changes to renegade u-boot patches * Moved renegade u-boot patches into board dir * Added debug info for RockPro64 and switched sdmmc to fifo-mode * Disabled regulators in SPL for RockPro64 * Re-enabled sd vcc regulator in SPL for RockPro64 * Some device tree and config changes for OrangePi RK3399 * Fixed Rock Pi 4A's $BOOTCONFIG * Let some boards use mainline atf instead of the one in rkbin For example, roc-rk3399-pc can just boot the kernel using the mainline atf. * Add roc-rk3399-pc * Fixed reset in mainline ATF * Attached ATF version to v2.2 tag * WIP: sdmmc fifo-mode in SPL only * Renamed source config files * Reverted changes to rockchip64 sources config * Reverted patch moves * Add missing trust.ini patch to rk3399 u-boot * Reinstated tpl/spl patches in rk3399 family * Added $RKBIN_DIR prefix in rk3399 sources * Add demonstration of boards bootloader assignment in rk3399
22 lines
800 B
Diff
22 lines
800 B
Diff
From b0693aeb9ceab57ffc9d9f4ceca610bd82d5ca07 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Kamil=20Trzci=C5=84ski?= <ayufan@ayufan.eu>
|
|
Date: Mon, 21 May 2018 02:00:19 +0200
|
|
Subject: [PATCH] ayufan: rock64: for SPL build always use fifo-mode
|
|
|
|
Change-Id: I9ac012ce4aaf03a151f7c5c818829d631efdd7ed
|
|
diff --git a/drivers/mmc/rockchip_dw_mmc.c b/drivers/mmc/rockchip_dw_mmc.c
|
|
index fc0f0fad76..d1f26e41fe 100644
|
|
--- a/drivers/mmc/rockchip_dw_mmc.c
|
|
+++ b/drivers/mmc/rockchip_dw_mmc.c
|
|
@@ -70,7 +70,11 @@ static int rockchip_dwmmc_ofdata_to_platdata(struct udevice *dev)
|
|
|
|
if (priv->fifo_depth < 0)
|
|
return -EINVAL;
|
|
+#ifdef CONFIG_SPL_BUILD
|
|
+ priv->fifo_mode = true; // always force fifo mode
|
|
+#else
|
|
priv->fifo_mode = dev_read_bool(dev, "fifo-mode");
|
|
+#endif
|
|
|
|
/*
|
|
* 'clock-freq-min-max' is deprecated
|