Skip to contentSkip to conversation

ARM: tegra30: add environment path to Beaver DT

PATCH Applied Lucas Stach 2 participants 3 messages Oct 5, 2014 – Oct 8, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: tegra30: add environment path to Beaver DT

---
 arch/arm/dts/tegra30-beaver.dts | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
arch/arm/dts/tegra30-beaver.dts +8 -1
index 35b4d7e..94955f9 100644
@@ -11,6 +11,13 @@
 		rtc1 = "/rtc@7000e000";
 	};
 
+	chosen {
+		environment@0 {
+			compatible = "barebox,environment";
+			device-path = &emmc, "partname:boot1";
+		};
+	};
+
 	memory {
 		reg = <0x80000000 0x7ff00000>;
 	};
@@ -750,7 +757,7 @@
 		bus-width = <4>;
 	};
 
-	sdhci@78000600 {
+	emmc: sdhci@78000600 {
 		status = "okay";
 		bus-width = <8>;
 		non-removable;
Signature · 7 lines
1.9.3


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw

PATCH 2/2 ARM: tegra124: add environment path to Jetson-TK1 DT

---
 arch/arm/dts/tegra124-jetson-tk1.dts | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
arch/arm/dts/tegra124-jetson-tk1.dts +8 -1
index 16082c0..32e41f9 100644
@@ -12,6 +12,13 @@
 		rtc1 = "/rtc@0,7000e000";
 	};
 
+	chosen {
+		environment@0 {
+			compatible = "barebox,environment";
+			device-path = &emmc, "partname:boot1";
+		};
+	};
+
 	memory {
 		reg = <0x0 0x80000000 0x0 0x80000000>;
 	};
@@ -1630,7 +1637,7 @@
 	};
 
 	/* eMMC */
-	sdhci@0,700b0600 {
+	emmc: sdhci@0,700b0600 {
 		status = "okay";
 		bus-width = <8>;
 		non-removable;
Signature · 7 lines
1.9.3


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#2 lore raw
In reply to Lucas Stach
Quoted 4 lines · Lucas Stach
---
 arch/arm/dts/tegra30-beaver.dts | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Applied both, thanks

Sascha

Quoted 37 lines
arch/arm/dts/tegra30-beaver.dts +8 -1
index 35b4d7e..94955f9 100644
@@ -11,6 +11,13 @@
 		rtc1 = "/rtc@7000e000";
 	};
 
+	chosen {
+		environment@0 {
+			compatible = "barebox,environment";
+			device-path = &emmc, "partname:boot1";
+		};
+	};
+
 	memory {
 		reg = <0x80000000 0x7ff00000>;
 	};
@@ -750,7 +757,7 @@
 		bus-width = <4>;
 	};
 
-	sdhci@78000600 {
+	emmc: sdhci@78000600 {
 		status = "okay";
 		bus-width = <8>;
 		non-removable;
Signature · 7 lines
1.9.3


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox