On Wed, May 17, 2017 at 01:55:56PM +0200, Jean-Jacques Hiblot wrote:

> SDIO is not supported in u-boot, there is no point in enabling mmc3.
> 
> Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
> ---
> 
> Tom, 
> 
> this will fix the problem youreported with commit 
> b5511d6cb8dc601efc14b8cf60755
> on am335x-evm. For the record, the problem is that the clock of mmc 3 is not
> enbled by the arch code. With DM_MMC enabled, mmc3 gets probed and u-boot 
> crashes
> when mmc3's registers are accessed for the first time.
> 
> Jean-Jacques
> 
> 
>  arch/arm/dts/am335x-evm.dts | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/dts/am335x-evm.dts b/arch/arm/dts/am335x-evm.dts
> index a6f20af..e94fcad 100644
> --- a/arch/arm/dts/am335x-evm.dts
> +++ b/arch/arm/dts/am335x-evm.dts
> @@ -721,12 +721,14 @@
>  };
>  
>  &mmc3 {
> +     /* disable MMC3 as SDIO is not supported in U-Boot */
> +     status = "disabled";
> +
>       /* these are on the crossbar and are outlined in the
>          xbar-event-map element */
>       dmas = <&edma 12
>               &edma 13>;
>       dma-names = "tx", "rx";
> -     status = "okay";
>       vmmc-supply = <&wlan_en_reg>;
>       bus-width = <4>;
>       pinctrl-names = "default";

Please put this into arch/arm/dts/am335x-evm-u-boot.dtsi instead,
thanks!

-- 
Tom

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to