add a patch to enable emmc phy in rk3399 spl

from Yifeng Zhao on U-Boot list, not yet upstream
fixes regression booting on pinebook pro since 2021.10, specifically
ac804143cf ("mmc: rockchip_sdhci: add phy and clock config for rk3399")
problem reported and fix tested by patrick@
drop maintainer
This commit is contained in:
jsg 2021-12-17 23:00:41 +00:00
parent 7e7ea32000
commit 8980d51148
2 changed files with 23 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.88 2021/10/29 11:14:46 patrick Exp $
# $OpenBSD: Makefile,v 1.89 2021/12/17 23:00:41 jsg Exp $
BROKEN-sparc64= Error: the specified option is not accepted in ISB at operand 1 -- isb sy
BROKEN-arm= lib/time.c:187:1: internal compiler error: Bus error
@ -8,13 +8,12 @@ FLAVOR?= arm
COMMENT= U-Boot firmware
VERSION= 2021.10
REVISION= 1
REVISION= 2
DISTNAME= u-boot-${VERSION}
PKGNAME= u-boot-${FLAVOR}-${VERSION:S/-//}
FULLPKGNAME= ${PKGNAME}
CATEGORIES= sysutils
HOMEPAGE= https://www.denx.de/wiki/U-Boot
MAINTAINER= Jonathan Gray <jsg@openbsd.org>
# GPLv2
PERMIT_PACKAGE= Yes

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-arch_arm_dts_rk3399-u-boot_dtsi,v 1.1 2021/12/17 23:00:41 jsg Exp $
dts: rockchip: rk3399: enable emmc phy for spl
http://patchwork.ozlabs.org/project/uboot/patch/20211101044347.17822-1-yifeng.zhao@rock-chips.com/
fixes emmc boot on pinebook pro
Index: arch/arm/dts/rk3399-u-boot.dtsi
--- arch/arm/dts/rk3399-u-boot.dtsi.orig
+++ 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;
};