diff mbox series

rockchip: rk3568-nanopi-r5: Disable SPL_DM_WARN Kconfig option

Message ID 20240802234846.2654274-1-jonas@kwiboo.se
State Accepted
Commit c8b268e5f1b9a4292e545b90449567ab199b1a0a
Delegated to: Kever Yang
Headers show
Series rockchip: rk3568-nanopi-r5: Disable SPL_DM_WARN Kconfig option | expand

Commit Message

Jonas Karlman Aug. 2, 2024, 11:48 p.m. UTC
With the commit 6afdb1585112 ("dm: core: migrate debug() messages to use
dm_warn") use of DM_WARN/SPL_DM_WARN print a lot of debug messages.

Disable the SPL_DM_WARN Kconfig option to remove verbose logging and
restore normal serial console output during boot.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
---
 configs/nanopi-r5c-rk3568_defconfig | 1 -
 configs/nanopi-r5s-rk3568_defconfig | 1 -
 2 files changed, 2 deletions(-)

Comments

Quentin Schulz Aug. 5, 2024, 7:04 a.m. UTC | #1
Hi Jonas,

On 8/3/24 1:48 AM, Jonas Karlman wrote:
> With the commit 6afdb1585112 ("dm: core: migrate debug() messages to use
> dm_warn") use of DM_WARN/SPL_DM_WARN print a lot of debug messages.
> 
> Disable the SPL_DM_WARN Kconfig option to remove verbose logging and
> restore normal serial console output during boot.
> 
> Signed-off-by: Jonas Karlman <jonas@kwiboo.se>

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>

Thanks!
Quentin
Kever Yang Aug. 9, 2024, 9:40 a.m. UTC | #2
On 2024/8/3 07:48, Jonas Karlman wrote:
> With the commit 6afdb1585112 ("dm: core: migrate debug() messages to use
> dm_warn") use of DM_WARN/SPL_DM_WARN print a lot of debug messages.
>
> Disable the SPL_DM_WARN Kconfig option to remove verbose logging and
> restore normal serial console output during boot.
>
> Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>

Thanks,
- Kever
> ---
>   configs/nanopi-r5c-rk3568_defconfig | 1 -
>   configs/nanopi-r5s-rk3568_defconfig | 1 -
>   2 files changed, 2 deletions(-)
>
> diff --git a/configs/nanopi-r5c-rk3568_defconfig b/configs/nanopi-r5c-rk3568_defconfig
> index 4a6c320faf5c..8e30093ed9dc 100644
> --- a/configs/nanopi-r5c-rk3568_defconfig
> +++ b/configs/nanopi-r5c-rk3568_defconfig
> @@ -35,7 +35,6 @@ CONFIG_CMD_REGULATOR=y
>   CONFIG_SPL_OF_CONTROL=y
>   CONFIG_OF_LIVE=y
>   CONFIG_OF_SPL_REMOVE_PROPS="clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents"
> -CONFIG_SPL_DM_WARN=y
>   CONFIG_SPL_DM_SEQ_ALIAS=y
>   CONFIG_SPL_REGMAP=y
>   CONFIG_SPL_SYSCON=y
> diff --git a/configs/nanopi-r5s-rk3568_defconfig b/configs/nanopi-r5s-rk3568_defconfig
> index 7ab12e619acf..e1865b2e1714 100644
> --- a/configs/nanopi-r5s-rk3568_defconfig
> +++ b/configs/nanopi-r5s-rk3568_defconfig
> @@ -35,7 +35,6 @@ CONFIG_CMD_REGULATOR=y
>   CONFIG_SPL_OF_CONTROL=y
>   CONFIG_OF_LIVE=y
>   CONFIG_OF_SPL_REMOVE_PROPS="clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents"
> -CONFIG_SPL_DM_WARN=y
>   CONFIG_SPL_DM_SEQ_ALIAS=y
>   CONFIG_SPL_REGMAP=y
>   CONFIG_SPL_SYSCON=y
diff mbox series

Patch

diff --git a/configs/nanopi-r5c-rk3568_defconfig b/configs/nanopi-r5c-rk3568_defconfig
index 4a6c320faf5c..8e30093ed9dc 100644
--- a/configs/nanopi-r5c-rk3568_defconfig
+++ b/configs/nanopi-r5c-rk3568_defconfig
@@ -35,7 +35,6 @@  CONFIG_CMD_REGULATOR=y
 CONFIG_SPL_OF_CONTROL=y
 CONFIG_OF_LIVE=y
 CONFIG_OF_SPL_REMOVE_PROPS="clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents"
-CONFIG_SPL_DM_WARN=y
 CONFIG_SPL_DM_SEQ_ALIAS=y
 CONFIG_SPL_REGMAP=y
 CONFIG_SPL_SYSCON=y
diff --git a/configs/nanopi-r5s-rk3568_defconfig b/configs/nanopi-r5s-rk3568_defconfig
index 7ab12e619acf..e1865b2e1714 100644
--- a/configs/nanopi-r5s-rk3568_defconfig
+++ b/configs/nanopi-r5s-rk3568_defconfig
@@ -35,7 +35,6 @@  CONFIG_CMD_REGULATOR=y
 CONFIG_SPL_OF_CONTROL=y
 CONFIG_OF_LIVE=y
 CONFIG_OF_SPL_REMOVE_PROPS="clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents"
-CONFIG_SPL_DM_WARN=y
 CONFIG_SPL_DM_SEQ_ALIAS=y
 CONFIG_SPL_REGMAP=y
 CONFIG_SPL_SYSCON=y