freebsd-src/sys/dev/uart
Andrew Turner 202890922e sys: Simplify enabling EARLY_PRINTF uarts
Support selecting the early uart with "options EARLY_PRINTF=foo" in
the kernel configuration file. This allows us to not have to change
source files when enabling EARLY_PRINTF, simplifying enabling it.

New uart drivers can be enabled by defining a new early_printf_foo
value to be unique, then using "#if CHECK_EARLY_PRINTF(foo)" to decide
when to enable the uart.

While here add pl011 early printf support.

Reviewed by:	imp (earlier version)
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D43360
2024-02-13 11:48:52 +00:00
..
uart.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
uart_bus.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
uart_bus_acpi.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
uart_bus_fdt.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
uart_bus_isa.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
uart_bus_pci.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
uart_bus_puc.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
uart_bus_scc.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
uart_core.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
uart_cpu.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
uart_cpu_acpi.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
uart_cpu_acpi.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
uart_cpu_arm64.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
uart_cpu_fdt.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
uart_cpu_fdt.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
uart_cpu_powerpc.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
uart_cpu_x86.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
uart_dbg.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
uart_dev_imx.c clk: Move clock code in dev/clk 2024-01-10 19:20:26 +01:00
uart_dev_imx.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
uart_dev_lowrisc.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
uart_dev_lowrisc.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
uart_dev_msm.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
uart_dev_msm.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
uart_dev_mu.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
uart_dev_mvebu.c sys: Simplify enabling EARLY_PRINTF uarts 2024-02-13 11:48:52 +00:00
uart_dev_ns8250.c sys: Simplify enabling EARLY_PRINTF uarts 2024-02-13 11:48:52 +00:00
uart_dev_ns8250.h uart(4): Honor hardware state of NS8250-class for tsw_busy 2024-01-14 08:03:59 +01:00
uart_dev_pl011.c sys: Simplify enabling EARLY_PRINTF uarts 2024-02-13 11:48:52 +00:00
uart_dev_quicc.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
uart_dev_snps.c sys: Simplify enabling EARLY_PRINTF uarts 2024-02-13 11:48:52 +00:00
uart_dev_ti8250.c uart(4): Honor hardware state of NS8250-class for tsw_busy 2024-01-14 08:03:59 +01:00
uart_dev_z8530.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
uart_if.m uart(4): Honor hardware state of NS8250-class for tsw_busy 2024-01-14 08:03:59 +01:00
uart_ppstypes.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
uart_subr.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
uart_tty.c uart(4): Honor hardware state of NS8250-class for tsw_busy 2024-01-14 08:03:59 +01:00