diff options
| author | Samuel Holland <[email protected]> | 2024-11-11 14:02:54 -0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2024-11-28 17:52:58 +0530 |
| commit | a524f0a507de18f150ea33ac923117291c6d1d81 (patch) | |
| tree | dcf3910d851386ddcd6c37948b4232b37d816081 /lib/utils/timer/fdt_timer_mtimer.c | |
| parent | 6d9ad492dbfdda00add7ff15a8599736f46d040a (diff) | |
lib: utils/serial: Use fdt_driver for initialization
The serial driver subsystem does not need any extra data, so it can use
`struct fdt_driver` directly. The generic fdt_serial_init() first
attempts to match the chosen stdout device, and upon failure matches the
first available serial device in the DT. It is a fatal error if no such
device is found. This matches the behavior of fdt_driver_init_one().
Signed-off-by: Samuel Holland <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer/fdt_timer_mtimer.c')
0 files changed, 0 insertions, 0 deletions
