2015-12-05 01:36:33 +08:00
|
|
|
config UART_NSIM
|
|
|
|
bool "UART driver for MetaWare nSim"
|
|
|
|
default n
|
2017-06-28 22:43:05 +08:00
|
|
|
select SERIAL_HAS_DRIVER
|
2015-12-05 01:36:33 +08:00
|
|
|
depends on NSIM && SERIAL
|
|
|
|
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
|
|
|
|
hex
|
|
|
|
prompt "Port 0 Register Address"
|
|
|
|
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.
|