arm: dts: e850-96: Remove not needed bootph-all flags
Subsystems (2)
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
@@ -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
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_controllerchanges, which are actually needed for serial to work properly.Signed-off-by Sam Protsenko <[email protected]>--- 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@@ -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.