aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Estevam <festevam@denx.de>2023-02-15 15:24:44 -0300
committerTom Rini <trini@konsulko.com>2023-04-03 10:14:34 -0400
commit8b6de0545f2a33a8a28babef6cb91eb2bf7cccb6 (patch)
tree16f045082351888a397186f0484daf2b840cbc1e
parentcfb4c33e8948b39974e3e62f9c35df6075623657 (diff)
downloadu-boot-8b6de0545f2a33a8a28babef6cb91eb2bf7cccb6.zip
u-boot-8b6de0545f2a33a8a28babef6cb91eb2bf7cccb6.tar.gz
u-boot-8b6de0545f2a33a8a28babef6cb91eb2bf7cccb6.tar.bz2
pico-imx6: Pass the mmc alias to fix boot regression
Originally, the mmc aliases node was present in imx6qdl-pico.dtsi. After the sync with Linux in commit d0399a46e7cd ("imx6dl/imx6qdl: synchronise device trees with linux"), the aliases node is gone as the upstream version does not have it. This causes a boot regression in which the eMMC card cannot be found anymore. Fix it by passing the alias node in the u-boot.dtsi file to restore the original behaviour where the eMMC (esdhc3) was mapped to mmc0. Fixes: d0399a46e7cd ("imx6dl/imx6qdl: synchronise device trees with linux") Signed-off-by: Fabio Estevam <festevam@denx.de>
-rw-r--r--arch/arm/dts/imx6dl-pico-u-boot.dtsi7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/dts/imx6dl-pico-u-boot.dtsi b/arch/arm/dts/imx6dl-pico-u-boot.dtsi
new file mode 100644
index 0000000..e2ef9bc
--- /dev/null
+++ b/arch/arm/dts/imx6dl-pico-u-boot.dtsi
@@ -0,0 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
+
+/ {
+ aliases {
+ mmc0 = &usdhc3;
+ };
+};