The SD card interface is still using the legacy partition binding.
Change this by switching to the new bindings.

Signed-off-by: Stefan Riedmueller <s.riedmuel...@phytec.de>
---
No changes in v2
---
 arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi 
b/arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi
index 51cece26837a..de07562c6884 100644
--- a/arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi
+++ b/arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi
@@ -158,16 +158,19 @@
         cd-gpios = <&gpio5 22 0>;
         status = "disabled";
 
-       #address-cells = <1>;
-       #size-cells = <1>;
+       partitions {
+               compatible = "fixed-partitions";
+               #address-cells = <1>;
+               #size-cells = <1>;
 
-       partition@0 {
-               label = "barebox";
-               reg = <0x0 0xe0000>;
-       };
+               partition@0 {
+                       label = "barebox";
+                       reg = <0x0 0xe0000>;
+               };
 
-       partition@e0000 {
-               label = "barebox-environment";
-               reg = <0xe0000 0x20000>;
+               partition@e0000 {
+                       label = "barebox-environment";
+                       reg = <0xe0000 0x20000>;
+               };
        };
 };
-- 
2.7.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to