]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: rk3308: add support for sdmmc boot
authorPegorer Massimo <Massimo.Pegorer@vimar.com>
Sat, 15 Jul 2023 10:19:40 +0000 (10:19 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 31 Jul 2023 06:38:55 +0000 (14:38 +0800)
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>
arch/arm/dts/rk3308-rock-pi-s-u-boot.dtsi
arch/arm/dts/rk3308-u-boot.dtsi

index a27a3adc082b9d32e650ea0fb14d785b0a651a49..09694b41e53933b16ef372487d84b50e5e75b6df 100644 (file)
@@ -6,7 +6,7 @@
 
 / {
        chosen {
-               u-boot,spl-boot-order = "same-as-spl", &emmc;
+               u-boot,spl-boot-order = "same-as-spl", &emmc, &sdmmc;
        };
 };
 
index c8451b24758c5ce6f67d63365d03045731b79ca4..db2c20a7055e531e689598975f5f5e441bfa1fae 100644 (file)
        bootph-all;
 };
 
+&sdmmc {
+       bootph-all;
+       u-boot,spl-fifo-mode;
+};
+
 &grf {
        bootph-all;
 };