[PATCH 01/10] ARM: imx6: phycard: use numeric suffix in device tree

Stefan Christ s.christ at phytec.de
Fri Nov 6 02:21:49 PST 2015


Use numeric suffix for 'environment-sd3' in device tree.  This patch
prepares phytec-phycard-imx6 for the SOM unification.

Signed-off-by: Christian Hemp <c.hemp at phytec.de>
Signed-off-by: Stefan Christ <s.christ at phytec.de>
---
 arch/arm/boards/phytec-phycard-imx6/board.c | 2 +-
 arch/arm/dts/imx6q-phytec-pcaaxl3.dtsi      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boards/phytec-phycard-imx6/board.c b/arch/arm/boards/phytec-phycard-imx6/board.c
index 27b84aa..84224b3 100644
--- a/arch/arm/boards/phytec-phycard-imx6/board.c
+++ b/arch/arm/boards/phytec-phycard-imx6/board.c
@@ -35,7 +35,7 @@ static int phytec_pcaaxl3_init(void)
 
 	switch (bootsource_get()) {
 	case BOOTSOURCE_MMC:
-		of_device_enable_path("/chosen/environment-sd");
+		of_device_enable_path("/chosen/environment-sd3");
 		break;
 	default:
 	case BOOTSOURCE_NAND:
diff --git a/arch/arm/dts/imx6q-phytec-pcaaxl3.dtsi b/arch/arm/dts/imx6q-phytec-pcaaxl3.dtsi
index 97cf78a..0522465 100644
--- a/arch/arm/dts/imx6q-phytec-pcaaxl3.dtsi
+++ b/arch/arm/dts/imx6q-phytec-pcaaxl3.dtsi
@@ -17,7 +17,7 @@
 	compatible = "phytec,imx6q-pcaaxl3", "fsl,imx6q";
 
 	chosen {
-		environment-sd {
+		environment-sd3 {
 			compatible = "barebox,environment";
 			device-path = &environment_usdhc3;
 			status = "disabled";
-- 
1.9.1




More information about the barebox mailing list