Skip to contentSkip to conversation

arm: dts: e850-96: Remove not needed bootph-all flags

PATCH In review Sam Protsenko 2 participants 2 messages May 25, 2024 – May 31, 2024

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

PATCH 1/1 arm: dts: e850-96: Remove not needed bootph-all flags

Most of the nodes in e850-96 appended device tree that add bootph-all flags are not necessary. All those nodes are instantiated as dependencies of other nodes anyway. Remove those nodes to avoid cluttering the appended dts. 'bdinfo' reports 768 bytes reduction for "Early malloc usage", and 'dm tree' output doesn't change. Keep only pmu_system_controller changes, which are actually needed for serial to work properly.

---
 arch/arm/dts/exynos850-e850-96-u-boot.dtsi | 28 ----------------------
 1 file changed, 28 deletions(-)
arch/arm/dts/exynos850-e850-96-u-boot.dtsi +0 -28
index 7ad11e9faab2..6d7148f7264a 100644
@@ -3,35 +3,7 @@
  * Copyright (c) 2023 Linaro Ltd.
  */
 
-&cmu_top {
-	bootph-all;
-};
-
-&cmu_peri {
-	bootph-all;
-};
-
-&oscclk {
-	bootph-all;
-};
-
-&pinctrl_alive {
-	bootph-all;
-};
-
 &pmu_system_controller {
 	bootph-all;
 	samsung,uart-debug-1;
 };
-
-&serial_0 {
-	bootph-all;
-};
-
-&uart1_pins {
-	bootph-all;
-};
-
-&usi_uart {
-	bootph-all;
-};
Signature · 1 line
2.39.2
#1 lore raw

Hi,

Quoted 55 lines · Sam Protsenko

Most of the nodes in e850-96 appended device tree that add bootph-all flags are not necessary. All those nodes are instantiated as dependencies of other nodes anyway. Remove those nodes to avoid cluttering the appended dts. 'bdinfo' reports 768 bytes reduction for "Early malloc usage", and 'dm tree' output doesn't change. Keep only pmu_system_controller changes, which are actually needed for serial to work properly.

---
 arch/arm/dts/exynos850-e850-96-u-boot.dtsi | 28 ----------------------
 1 file changed, 28 deletions(-)
arch/arm/dts/exynos850-e850-96-u-boot.dtsi +0 -29
index 7ad11e9faab2..6d7148f7264a 100644
@@ -3,35 +3,7 @@
  * Copyright (c) 2023 Linaro Ltd.
  */
 
-&cmu_top {
-       bootph-all;
-};
-
-&cmu_peri {
-       bootph-all;
-};
-
-&oscclk {
-       bootph-all;
-};
-
-&pinctrl_alive {
-       bootph-all;
-};
-
 &pmu_system_controller {
        bootph-all;
        samsung,uart-debug-1;
 };
-
-&serial_0 {
-       bootph-all;
-};
-
-&uart1_pins {
-       bootph-all;
-};
-
-&usi_uart {
-       bootph-all;
-};
--
Quoted 3 lines

2.39.2

applied to u-boot-samsung.

Signature · 2 lines
Thanks,
Minkyu Kang.