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

Lucas Stach dev at lynxeye.de
Sun Oct 5 12:39:42 PDT 2014


Signed-off-by: Lucas Stach <dev at lynxeye.de>
---
 arch/arm/dts/tegra30-beaver.dts | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

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




More information about the barebox mailing list