1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-04-11 21:50:01 +02:00
Files
u-boot-megous/drivers
Marek Vasut 836d1bfffa serial: sh: Add DEBUG_UART support
Add support for debug output very early during boot using the DEBUG_UART
mechanism. This uses a static fixed UART port configuration selected via
Kconfig options and dedicated print functions from debug_uart.h. This is
useful e.g. when debugging problems so early during boot, that not even
the DM is initialized at that point, and thus DM_SERIAL is not available
either.

This functionality is disabled by default. To activate it, define the
following Kconfig options and select SCIF type using CFG_SCI/CFG_SCIF_A/
CFG_HSCIF/<nothing for regular SCIF>:

CONFIG_DEBUG_UART=y
CONFIG_DEBUG_UART_SCIF=y
CONFIG_DEBUG_UART_BASE=0xe6540000
CONFIG_DEBUG_UART_CLOCK=24000000

The later two options define the SCIF physical base address and SCIF
input clock in Hz. Optionally, to validate DEBUG_UART works, enable
the following as well to get early serial output message by default:

CONFIG_DEBUG_UART_ANNOUNCE=y

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
2023-03-18 12:04:02 +01:00
..
2023-03-03 09:49:02 -05:00
2023-02-10 07:41:39 -05:00
2021-10-05 08:50:15 -04:00
2022-09-16 11:05:16 -04:00
2022-01-13 07:57:49 -05:00
2023-03-02 17:45:57 -05:00
2023-03-09 13:15:00 +01:00
2023-03-02 17:45:58 -05:00
2023-03-18 12:02:38 +01:00
2023-03-14 12:06:35 -04:00
2023-01-20 12:27:24 -05:00
2023-03-14 12:06:35 -04:00
2023-03-02 17:45:58 -05:00
2023-03-18 12:04:02 +01:00
2023-01-24 13:55:05 +01:00
2022-10-11 16:03:03 -04:00
2023-03-14 12:06:35 -04:00
2023-03-14 12:06:35 -04:00
2023-02-10 07:41:41 -05:00
2023-03-02 17:45:58 -05:00