2015-12-05 01:36:33 +08:00
|
|
|
config UART_NSIM
|
|
|
|
bool "UART driver for MetaWare nSim"
|
2017-06-28 22:43:05 +08:00
|
|
|
select SERIAL_HAS_DRIVER
|
2018-05-24 19:28:10 +08:00
|
|
|
depends on SERIAL
|
2015-12-05 01:36:33 +08:00
|
|
|
help
|
|
|
|
This enables the UART driver for the MetaWare nSim simulator.
|
|
|
|
|
2015-12-02 00:42:19 +08:00
|
|
|
config UART_NSIM_PORT_0_NAME
|
|
|
|
string "Port 0 Device Name"
|
|
|
|
default "UART_0"
|
2015-12-05 01:36:33 +08:00
|
|
|
depends on UART_NSIM
|
2015-12-02 00:42:19 +08:00
|
|
|
help
|
|
|
|
This is the device name for UART, and is included in the device
|
|
|
|
struct.
|
|
|
|
|
|
|
|
config UART_NSIM_PORT_0_BASE_ADDR
|
2018-08-14 22:19:20 +08:00
|
|
|
hex "Port 0 Register Address"
|
2015-12-02 00:42:19 +08:00
|
|
|
default 0x00000000
|
2015-12-05 01:36:33 +08:00
|
|
|
depends on UART_NSIM
|
2015-12-02 00:42:19 +08:00
|
|
|
help
|
|
|
|
The base address of UART port.
|
|
|
|
|
|
|
|
Leave this at 0x00000000 to skip initialization at boot.
|