summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorFabio Estevam <festevam@denx.de>2023-02-15 21:24:44 +0300
committerStefano Babic <sbabic@denx.de>2023-03-29 23:27:39 +0300
commit5fddcbbdabff6b4f37cf81d1c06f93a5ced3eb2a (patch)
treecd3084a750432e6bca3318a95d5ad20264f5ead1 /arch
parent422a6f0a2d101bdcf1b0dee0c2fc18c59d17f217 (diff)
downloadu-boot-5fddcbbdabff6b4f37cf81d1c06f93a5ced3eb2a.tar.xz
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>
Diffstat (limited to 'arch')
-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 0000000000..e2ef9bcc14
--- /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;
+ };
+};