]> git.pld-linux.org Git - packages/uboot.git/commitdiff
fix for emmc boot on rk3399 auto/th/uboot-2021.10-1
authorJan Palus <atler@pld-linux.org>
Tue, 2 Nov 2021 10:11:38 +0000 (11:11 +0100)
committerJan Palus <atler@pld-linux.org>
Tue, 2 Nov 2021 10:11:38 +0000 (11:11 +0100)
rk3399-emmc.patch [new file with mode: 0644]
uboot.spec

diff --git a/rk3399-emmc.patch b/rk3399-emmc.patch
new file mode 100644 (file)
index 0000000..7ca032a
--- /dev/null
@@ -0,0 +1,36 @@
+From u-boot  Mon Nov 01 04:43:47 2021
+From: Yifeng Zhao <yifeng.zhao () rock-chips ! com>
+Date: Mon, 01 Nov 2021 04:43:47 +0000
+To: u-boot
+Subject: [PATCH] dts: rockchip: rk3399: enable emmc phy for spl
+Message-Id: <20211101044347.17822-1-yifeng.zhao () rock-chips ! com>
+X-MARC-Message: https://marc.info/?l=u-boot&m=163574185622041
+
+adapting commit ac804143cf ("mmc: rockchip_sdhci: add phy and clock
+config for rk3399") to fix the issue "Not found emmc phy device".
+
+Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
+---
+
+ arch/arm/dts/rk3399-u-boot.dtsi | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/arch/arm/dts/rk3399-u-boot.dtsi b/arch/arm/dts/rk3399-u-boot.dtsi
+index 73922c328a..716b9a433a 100644
+--- a/arch/arm/dts/rk3399-u-boot.dtsi
++++ b/arch/arm/dts/rk3399-u-boot.dtsi
+@@ -88,6 +88,10 @@
+       u-boot,dm-pre-reloc;
+ };
++&emmc_phy {
++      u-boot,dm-pre-reloc;
++};
++
+ &grf {
+       u-boot,dm-pre-reloc;
+ };
+-- 
+2.17.1
+
+
index a8c47d0d0f1ddead5f564d6b4bec8a2bd1e93fbe..8fb95247c422bf182c98400f5bfea45d9c4e9a5a 100644 (file)
@@ -9,6 +9,7 @@ Source0:        https://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
 # Source0-md5: f1392080facf59dd2c34096a5fd95d4c
 Patch0:                rpi-Enable-using-the-DT-provided-by-the-Raspberry-Pi.patch
 Patch1:                %{name}-pbp_usb_hang.patch
+Patch2:                rk3399-emmc.patch
 URL:           https://www.denx.de/wiki/U-Boot
 %ifarch aarch64
 BuildRequires: arm-trusted-firmware-armv8
@@ -116,6 +117,7 @@ czasie utworzenia, sumach kontrolnych CRC32 itp.
 %endif
 %ifarch aarch64
 %patch1 -p1
+%patch2 -p1
 %endif
 
 %build
This page took 0.168701 seconds and 4 git commands to generate.