diff mbox series

[U-Boot,2/2] arm: mvebu: clearfog: fix boot from SD card

Message ID 1e894bf62755d874abe1d1c5488488e5e28e59e8.1572774759.git.baruch@tkos.co.il
State Accepted
Commit 70bae02f71d4d4f7bfadd4f68f0823a453bbd7e6
Delegated to: Stefan Roese
Headers show
Series [U-Boot,1/2] gpio: fix CONFIG_IS_ENABLED(DM_GPIO) for SPL | expand

Commit Message

Baruch Siach Nov. 3, 2019, 9:52 a.m. UTC
Enable gpio0 in SPL to allow the sdhci driver read the SD card-detect
signal.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 arch/arm/dts/armada-388-clearfog-u-boot.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Stefan Roese Nov. 5, 2019, 3:15 p.m. UTC | #1
Hi Baruch,

On 03.11.19 10:52, Baruch Siach wrote:
> Enable gpio0 in SPL to allow the sdhci driver read the SD card-detect
> signal.
> 
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
>   arch/arm/dts/armada-388-clearfog-u-boot.dtsi | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm/dts/armada-388-clearfog-u-boot.dtsi b/arch/arm/dts/armada-388-clearfog-u-boot.dtsi
> index cf6c08881b18..38e4f3d99ac9 100644
> --- a/arch/arm/dts/armada-388-clearfog-u-boot.dtsi
> +++ b/arch/arm/dts/armada-388-clearfog-u-boot.dtsi
> @@ -12,6 +12,10 @@
>   	u-boot,dm-spl;
>   };
>   
> +&gpio0 {
> +	u-boot,dm-spl;
> +};
> +
>   &ahci0 {
>   	u-boot,dm-spl;
>   };
> 

Reviewed-by: Stefan Roese <sr@denx.de>

Thanks,
Stefan
Stefan Roese Nov. 14, 2019, 7:35 a.m. UTC | #2
On 03.11.19 10:52, Baruch Siach wrote:
> Enable gpio0 in SPL to allow the sdhci driver read the SD card-detect
> signal.
> 
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Applied to u-boot-marvell/master.

Thanks,
Stefan
diff mbox series

Patch

diff --git a/arch/arm/dts/armada-388-clearfog-u-boot.dtsi b/arch/arm/dts/armada-388-clearfog-u-boot.dtsi
index cf6c08881b18..38e4f3d99ac9 100644
--- a/arch/arm/dts/armada-388-clearfog-u-boot.dtsi
+++ b/arch/arm/dts/armada-388-clearfog-u-boot.dtsi
@@ -12,6 +12,10 @@ 
 	u-boot,dm-spl;
 };
 
+&gpio0 {
+	u-boot,dm-spl;
+};
+
 &ahci0 {
 	u-boot,dm-spl;
 };