aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPegorer Massimo <Massimo.Pegorer@vimar.com>2023-07-15 10:19:40 +0000
committerKever Yang <kever.yang@rock-chips.com>2023-07-31 14:38:55 +0800
commit1d7e1d09cac5f01867a5c25009baa4ddd63559ab (patch)
treea9d21a144bf14a24a72dd6de73ba67a95bf360bb
parent9f2c7349e516a082b13ded4ae0efd3ce448c8970 (diff)
downloadu-boot-1d7e1d09cac5f01867a5c25009baa4ddd63559ab.zip
u-boot-1d7e1d09cac5f01867a5c25009baa4ddd63559ab.tar.gz
u-boot-1d7e1d09cac5f01867a5c25009baa4ddd63559ab.tar.bz2
rockchip: rk3308: add support for sdmmc boot
Some ROCK Pi S SKU/models are not equipped with SD-NAND (eMMC), therefore SPL needs access to sdmmc: add it to rk3308-u-boot.dtsi with bootph-all property. Signed-off-by: Massimo Pegorer <massimo.pegorer@vimar.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
-rw-r--r--arch/arm/dts/rk3308-rock-pi-s-u-boot.dtsi2
-rw-r--r--arch/arm/dts/rk3308-u-boot.dtsi5
2 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/dts/rk3308-rock-pi-s-u-boot.dtsi b/arch/arm/dts/rk3308-rock-pi-s-u-boot.dtsi
index a27a3ad..09694b4 100644
--- a/arch/arm/dts/rk3308-rock-pi-s-u-boot.dtsi
+++ b/arch/arm/dts/rk3308-rock-pi-s-u-boot.dtsi
@@ -6,7 +6,7 @@
/ {
chosen {
- u-boot,spl-boot-order = "same-as-spl", &emmc;
+ u-boot,spl-boot-order = "same-as-spl", &emmc, &sdmmc;
};
};
diff --git a/arch/arm/dts/rk3308-u-boot.dtsi b/arch/arm/dts/rk3308-u-boot.dtsi
index c8451b2..db2c20a 100644
--- a/arch/arm/dts/rk3308-u-boot.dtsi
+++ b/arch/arm/dts/rk3308-u-boot.dtsi
@@ -26,6 +26,11 @@
bootph-all;
};
+&sdmmc {
+ bootph-all;
+ u-boot,spl-fifo-mode;
+};
+
&grf {
bootph-all;
};