Skip to contentSkip to conversation

arm: mvebu: theadorable: Misc defconfig changes

PATCH In review Stefan Roese 1 participant 4 messages Sep 15, 2022 – Sep 20, 2022 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 arm: mvebu: theadorable: Misc defconfig changes

- Remove EFI support as it's not used on this board
- Disable CONFIG_FIT_PRINT to reduce the serial output (minimal speedup)

---
 configs/theadorable_debug_defconfig | 3 +++
 1 file changed, 3 insertions(+)
configs/theadorable_debug_defconfig +3 -0
index 9074ca1620ba..3d84bf9d57af 100644
@@ -22,6 +22,7 @@ CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
 CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xff0000
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_FIT=y
+# CONFIG_FIT_PRINT is not set
 CONFIG_BOOTDELAY=3
 CONFIG_USE_PREBOOT=y
 # CONFIG_CONSOLE_MUX is not set
@@ -98,3 +99,5 @@ CONFIG_VIDEO_MVEBU=y
 CONFIG_BMP_16BPP=y
 CONFIG_BMP_24BPP=y
 CONFIG_BMP_32BPP=y
+CONFIG_FAT_WRITE=y
+# CONFIG_EFI_LOADER is not set
Signature · 1 line
2.37.3
#1 lore raw

PATCH 2/2 arm: mvebu: theadorable: Update eth & mdio DT nodes

With the recent changes in the Marvel mvneta network driver, the MDIO bus is not connected any more. This patch updates the DT nodes to use the nodes from the dtsi files instead of creating ad-hoc nodes.

---
 arch/arm/dts/armada-xp-theadorable.dts | 27 ++++++++++++--------------
 1 file changed, 12 insertions(+), 15 deletions(-)
arch/arm/dts/armada-xp-theadorable.dts +12 -15
index ba73386d4f0a..7d833640b6d6 100644
@@ -107,20 +107,6 @@
 				status = "okay";
 			};
 
-			mdio {
-				#address-cells = <1>;
-				#size-cells = <0>;
-				phy0: ethernet-phy@0 {
-					reg = <0>;
-				};
-			};
-
-			ethernet@70000 {
-				status = "okay";
-				phy = <&phy0>;
-				phy-mode = "sgmii";
-			};
-
 			usb@50000 {
 				status = "okay";
 			};
@@ -166,6 +152,18 @@
 	clock-frequency = <100000>;
 };
 
+&mdio {
+	phy0: ethernet-phy@0 {
+		reg = <0>;
+	};
+};
+
+&eth0 {
+	status = "okay";
+	phy = <&phy0>;
+	phy-mode = "sgmii";
+};
+
 &spi0 {
 	status = "okay";
 
@@ -198,7 +196,6 @@
 	};
 };
 
-
 &pciec {
 	status = "okay";
 
Signature · 1 line
2.37.3
#2 lore raw

Re: [PATCH 2/2] arm: mvebu: theadorable: Update eth & mdio DT nodes

Quoted 5 lines · Stefan Roese

With the recent changes in the Marvel mvneta network driver, the MDIO bus is not connected any more. This patch updates the DT nodes to use the nodes from the dtsi files instead of creating ad-hoc nodes.

Applied to u-boot-marvell/next

Thanks,
Stefan

Quoted 49 lines
---
  arch/arm/dts/armada-xp-theadorable.dts | 27 ++++++++++++--------------
  1 file changed, 12 insertions(+), 15 deletions(-)
arch/arm/dts/armada-xp-theadorable.dts +12 -14
index ba73386d4f0a..7d833640b6d6 100644
@@ -107,20 +107,6 @@
  				status = "okay";
  			};
 
-			mdio {
-				#address-cells = <1>;
-				#size-cells = <0>;
-				phy0: ethernet-phy@0 {
-					reg = <0>;
-				};
-			};
-
-			ethernet@70000 {
-				status = "okay";
-				phy = <&phy0>;
-				phy-mode = "sgmii";
-			};
-
  			usb@50000 {
  				status = "okay";
  			};
@@ -166,6 +152,18 @@
  	clock-frequency = <100000>;
  };
 
+&mdio {
+	phy0: ethernet-phy@0 {
+		reg = <0>;
+	};
+};
+
+&eth0 {
+	status = "okay";
+	phy = <&phy0>;
+	phy-mode = "sgmii";
+};
+
  &spi0 {
  	status = "okay";
 

arch/arm/dts/armada-xp-theadorable.dts line 201

Quoted 7 lines
arch/arm/dts/armada-xp-theadorable.dts +0 -1
@@ -198,7 +196,6 @@
  	};
  };
 
-
  &pciec {
  	status = "okay";
 

Viele Grüße,
Stefan Roese

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]
#3 lore raw
In reply to Stefan Roese
Quoted 4 lines · Stefan Roese

- Remove EFI support as it's not used on this board
- Disable CONFIG_FIT_PRINT to reduce the serial output (minimal speedup)

Applied to u-boot-marvell/next

Thanks,
Stefan

Quoted 17 lines
---
  configs/theadorable_debug_defconfig | 3 +++
  1 file changed, 3 insertions(+)
configs/theadorable_debug_defconfig +1 -0
index 9074ca1620ba..3d84bf9d57af 100644
@@ -22,6 +22,7 @@ CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
  CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xff0000
  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
  CONFIG_FIT=y
+# CONFIG_FIT_PRINT is not set
  CONFIG_BOOTDELAY=3
  CONFIG_USE_PREBOOT=y
  # CONFIG_CONSOLE_MUX is not set

configs/theadorable_debug_defconfig CONFIG_VIDEO_MVEBU=y · line 103

Quoted 5 lines
configs/theadorable_debug_defconfig +2 -0
@@ -98,3 +99,5 @@ CONFIG_VIDEO_MVEBU=y
  CONFIG_BMP_16BPP=y
  CONFIG_BMP_24BPP=y
  CONFIG_BMP_32BPP=y
+CONFIG_FAT_WRITE=y
+# CONFIG_EFI_LOADER is not set

Viele Grüße,
Stefan Roese

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]