Add the ability to subset the devices that UART pulls in. This allows
the arm to compile without all the extras that don't appear, at least not in the flavors of ARM I deal with. This helps us save about 100k. If I've botched the available devices on a platform, please let me know and I'll correct ASAP.
This commit is contained in:
parent
ccdc8d9bff
commit
78878cef94
@ -11,3 +11,6 @@ device isa
|
||||
# Pseudo devices.
|
||||
device mem # Memory and kernel memory devices
|
||||
device io # I/O device
|
||||
|
||||
# UART chips on this platform
|
||||
device uart_ns8250
|
||||
|
@ -965,9 +965,9 @@ dev/uart/uart_bus_puc.c optional uart puc
|
||||
dev/uart/uart_bus_scc.c optional uart scc
|
||||
dev/uart/uart_core.c optional uart
|
||||
dev/uart/uart_dbg.c optional uart gdb
|
||||
dev/uart/uart_dev_ns8250.c optional uart
|
||||
dev/uart/uart_dev_sab82532.c optional uart
|
||||
dev/uart/uart_dev_z8530.c optional uart
|
||||
dev/uart/uart_dev_ns8250.c optional uart uart_ns8250
|
||||
dev/uart/uart_dev_sab82532.c optional uart uart_sab82532
|
||||
dev/uart/uart_dev_z8530.c optional uart uart_z8530
|
||||
dev/uart/uart_if.m optional uart
|
||||
dev/uart/uart_subr.c optional uart
|
||||
dev/uart/uart_tty.c optional uart
|
||||
|
@ -14,3 +14,6 @@ device npx
|
||||
# Pseudo devices.
|
||||
device mem # Memory and kernel memory devices
|
||||
device io # I/O device
|
||||
|
||||
# UART chips on this platform
|
||||
device uart_ns8250
|
||||
|
@ -10,3 +10,6 @@ device acpi # ACPI support
|
||||
|
||||
# Pseudo devices.
|
||||
device mem # Memory and kernel memory devices
|
||||
|
||||
# UART chips on this platform
|
||||
device uart_ns8250
|
||||
|
@ -15,3 +15,7 @@ device npx
|
||||
# Pseudo devices.
|
||||
device mem # Memory and kernel memory devices
|
||||
device io # I/O device
|
||||
|
||||
# UART chips on this platform
|
||||
device uart_ns8250
|
||||
#device uart_i8251
|
||||
|
@ -7,3 +7,6 @@ machine powerpc
|
||||
|
||||
# Pseudo devices.
|
||||
device mem # Memory and kernel memory devices
|
||||
|
||||
# UART chips on this platform
|
||||
device uart_ns8250
|
||||
|
@ -7,3 +7,8 @@ machine sparc64
|
||||
|
||||
# Pseudo devices.
|
||||
device mem # Memory and kernel memory devices
|
||||
|
||||
# UART chips on this platform
|
||||
device uart_ns8250
|
||||
device uart_sab82352
|
||||
device uart_z8350
|
||||
|
Loading…
x
Reference in New Issue
Block a user