public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] arm: socfpga: Make the DT mmc node consistent
@ 2015-08-10 23:02 Marek Vasut
  2015-08-18 20:30 ` Dinh Nguyen
  0 siblings, 1 reply; 3+ messages in thread
From: Marek Vasut @ 2015-08-10 23:02 UTC (permalink / raw)
  To: u-boot

The socfpga_cyclone5.dtsi has an mmc0 node, socrates has mmc node.
This makes aliases not very usable, so make everything into mmc0.
Moreover, zap the useless mmc alias while at this.

Signed-off-by: Marek Vasut <marex@denx.de>
---
 arch/arm/dts/socfpga.dtsi                  | 3 +--
 arch/arm/dts/socfpga_cyclone5_socrates.dts | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/arch/arm/dts/socfpga.dtsi b/arch/arm/dts/socfpga.dtsi
index 125034b..8588221 100644
--- a/arch/arm/dts/socfpga.dtsi
+++ b/arch/arm/dts/socfpga.dtsi
@@ -23,7 +23,6 @@
 		spi0 = &qspi;
 		spi1 = &spi0;
 		spi2 = &spi1;
-		mmc = &mmc;
 	};
 
 	cpus {
@@ -624,7 +623,7 @@
 			arm,data-latency = <2 1 1>;
 		};
 
-		mmc: dwmmc0 at ff704000 {
+		mmc0: dwmmc0 at ff704000 {
 			compatible = "altr,socfpga-dw-mshc";
 			reg = <0xff704000 0x1000>;
 			interrupts = <0 139 4>;
diff --git a/arch/arm/dts/socfpga_cyclone5_socrates.dts b/arch/arm/dts/socfpga_cyclone5_socrates.dts
index 00b1830..3c98558 100644
--- a/arch/arm/dts/socfpga_cyclone5_socrates.dts
+++ b/arch/arm/dts/socfpga_cyclone5_socrates.dts
@@ -34,7 +34,7 @@
 	};
 };
 
-&mmc {
+&mmc0 {
 	status = "okay";
 };
 
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] arm: socfpga: Make the DT mmc node consistent
  2015-08-10 23:02 [U-Boot] [PATCH] arm: socfpga: Make the DT mmc node consistent Marek Vasut
@ 2015-08-18 20:30 ` Dinh Nguyen
  2015-08-18 22:06   ` Marek Vasut
  0 siblings, 1 reply; 3+ messages in thread
From: Dinh Nguyen @ 2015-08-18 20:30 UTC (permalink / raw)
  To: u-boot



On 8/10/15 6:02 PM, Marek Vasut wrote:
> The socfpga_cyclone5.dtsi has an mmc0 node, socrates has mmc node.
> This makes aliases not very usable, so make everything into mmc0.
> Moreover, zap the useless mmc alias while at this.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
> ---
>  arch/arm/dts/socfpga.dtsi                  | 3 +--
>  arch/arm/dts/socfpga_cyclone5_socrates.dts | 2 +-
>  2 files changed, 2 insertions(+), 3 deletions(-)
> 

Acked-by: Dinh Nguyen <dinguyen@opensource.altera.com>

Thanks,
Dinh

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] arm: socfpga: Make the DT mmc node consistent
  2015-08-18 20:30 ` Dinh Nguyen
@ 2015-08-18 22:06   ` Marek Vasut
  0 siblings, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2015-08-18 22:06 UTC (permalink / raw)
  To: u-boot

On Tuesday, August 18, 2015 at 10:30:15 PM, Dinh Nguyen wrote:
> On 8/10/15 6:02 PM, Marek Vasut wrote:
> > The socfpga_cyclone5.dtsi has an mmc0 node, socrates has mmc node.
> > This makes aliases not very usable, so make everything into mmc0.
> > Moreover, zap the useless mmc alias while at this.
> > 
> > Signed-off-by: Marek Vasut <marex@denx.de>
> > ---
> > 
> >  arch/arm/dts/socfpga.dtsi                  | 3 +--
> >  arch/arm/dts/socfpga_cyclone5_socrates.dts | 2 +-
> >  2 files changed, 2 insertions(+), 3 deletions(-)
> 
> Acked-by: Dinh Nguyen <dinguyen@opensource.altera.com>

Applied to u-boot-socfpga/master, thanks!

Best regards,
Marek Vasut

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-18 22:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-10 23:02 [U-Boot] [PATCH] arm: socfpga: Make the DT mmc node consistent Marek Vasut
2015-08-18 20:30 ` Dinh Nguyen
2015-08-18 22:06   ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox