drivers: uart_ns16550: Remove CMake-based templating
With some additional macro-magic we can remove the CMake-based header file template feature, and instead take advantage of the usual DT_INST_FOREACH_STATUS_OKAY() macro. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
8cfa5deb16
commit
baecd7e55a
5 changed files with 117 additions and 150 deletions
|
@ -11,13 +11,6 @@ menuconfig UART_NS16550
|
|||
|
||||
if UART_NS16550
|
||||
|
||||
config UART_NS16550_MAX_INSTANCES
|
||||
int "Maximum number of supported driver instances"
|
||||
range 1 32
|
||||
default 4
|
||||
help
|
||||
The maximum number of supported driver instances in device tree.
|
||||
|
||||
config UART_NS16550_LINE_CTRL
|
||||
bool "Enable Serial Line Control for Apps"
|
||||
depends on UART_LINE_CTRL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue