diff mbox

[U-Boot,v2] ARM: dts: am335x-evm: disable mmc3

Message ID 1495048975-30968-1-git-send-email-jjhiblot@ti.com
State Accepted
Commit ad99abe8e721b948db3b6ab1c2cf10f3de5560e9
Delegated to: Tom Rini
Headers show

Commit Message

Jean-Jacques Hiblot May 17, 2017, 7:22 p.m. UTC
SDIO is not supported in u-boot, there is no point in enabling mmc3.
For this purpose, add u-boot specific dtsi that this will be included
automatically while building the dtb.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
---

This patch relies on "scripts/Makefile.lib: Always have ...-u-boot.dtsi be able to override".

Changes since v1:
 * add a u-boot specific dtsi for the purpose. 

 arch/arm/dts/am335x-evm-u-boot.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 arch/arm/dts/am335x-evm-u-boot.dtsi

Comments

Tom Rini May 17, 2017, 7:25 p.m. UTC | #1
On Wed, May 17, 2017 at 09:22:55PM +0200, Jean-Jacques Hiblot wrote:

> SDIO is not supported in u-boot, there is no point in enabling mmc3.
> For this purpose, add u-boot specific dtsi that this will be included
> automatically while building the dtb.
> 
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>

Reviewed-by: Tom Rini <trini@konsulko.com>
Tom Rini May 19, 2017, 12:38 a.m. UTC | #2
On Wed, May 17, 2017 at 09:22:55PM +0200, Jean-Jacques Hiblot wrote:

> SDIO is not supported in u-boot, there is no point in enabling mmc3.
> For this purpose, add u-boot specific dtsi that this will be included
> automatically while building the dtb.
> 
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
> Reviewed-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/arch/arm/dts/am335x-evm-u-boot.dtsi b/arch/arm/dts/am335x-evm-u-boot.dtsi
new file mode 100644
index 0000000..d7b296b
--- /dev/null
+++ b/arch/arm/dts/am335x-evm-u-boot.dtsi
@@ -0,0 +1,10 @@ 
+/*
+ * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
+ *
+ * SPDX-License-Identifier:	GPL-2.0+
+ */
+
+
+&mmc3 {
+	status = "disabled";
+};