public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v3 0/4] Rockchip: Allow to silent TPL/SPL debug console
@ 2024-09-18 13:01 Lukasz Czechowski
  2024-09-18 13:01 ` [PATCH v3 1/4] debug_uart: Replace debug functions with dummies if CONFIG_DEBUG_UART is not set Lukasz Czechowski
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Lukasz Czechowski @ 2024-09-18 13:01 UTC (permalink / raw)
  To: u-boot
  Cc: trini, sjg, philipp.tomsich, kever.yang, quentin.schulz,
	Lukasz Czechowski

Currently it is not possible to completely silent the debug console
in i.e. PX30, what might be required in some embedded devices.
Disabling DEBUG_UART results in errors, due to missing symbols.
In particular, rockchip sdram driver performs calls to debug_uart
functions (i.e. printascii), defined directly in serial driver.
This patch series fixes the dependencies in Kconfig and provides
dummy implementation of debug_uart functions that are linked in case
serial driver is not used.

changes in v2:
 - Update commit titles
 - Create separate SPL and TPL symbols for RAM_ROCKCHIP_DEBUG

changes in v3:
 - Dropped [PATCH v2 3/5] ram: rockchip: Add separate RAM_ROCKCHIP_DEBUG config for TPL/SPL
   As suggested by Kever, dependency on DEBUG_UART is sufficient and this patch
   was not needed.

Lukasz Czechowski (4):
  debug_uart: Replace debug functions with dummies if CONFIG_DEBUG_UART
    is not set
  ram: rockchip: Fix dependency of RAM_ROCKCHIP_DEBUG
  rockchip: px30: Weaken dependency TPL/SPL serial
  rockchip: px30: Fix hard dependency to DEBUG_UART_BOARD_INIT

 arch/arm/mach-rockchip/Kconfig |  5 ++---
 drivers/ram/rockchip/Kconfig   |  1 +
 include/debug_uart.h           | 16 ++++++++++++++++
 3 files changed, 19 insertions(+), 3 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2025-05-05 13:53 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-18 13:01 [PATCH v3 0/4] Rockchip: Allow to silent TPL/SPL debug console Lukasz Czechowski
2024-09-18 13:01 ` [PATCH v3 1/4] debug_uart: Replace debug functions with dummies if CONFIG_DEBUG_UART is not set Lukasz Czechowski
2024-09-29  1:53   ` Kever Yang
2024-09-30  8:55     ` Quentin Schulz
2024-10-25 12:30       ` Kever Yang
2024-10-25 14:13         ` Tom Rini
2024-10-25 14:27         ` Łukasz Czechowski
2024-10-25 14:56           ` Quentin Schulz
2024-10-31  9:01             ` Kever Yang
2024-11-08  9:33               ` Kever Yang
2024-11-08 20:38                 ` Łukasz Czechowski
2024-11-27  2:41   ` Kever Yang
2024-11-27 22:21     ` Łukasz Czechowski
2025-01-17 16:18       ` Quentin Schulz
2025-05-05 13:53         ` Quentin Schulz
2024-09-18 13:01 ` [PATCH v3 2/4] ram: rockchip: Fix dependency of RAM_ROCKCHIP_DEBUG Lukasz Czechowski
2024-09-18 13:01 ` [PATCH v3 3/4] rockchip: px30: Weaken dependency TPL/SPL serial Lukasz Czechowski
2024-09-18 13:01 ` [PATCH v3 4/4] rockchip: px30: Fix hard dependency to DEBUG_UART_BOARD_INIT Lukasz Czechowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox