Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95076
b: refs/heads/master
c: 2f35174
h: refs/heads/master
v: v3
  • Loading branch information
Bryan Wu authored and Linus Torvalds committed Apr 30, 2008
1 parent d0a3ca9 commit 50ae716
Show file tree
Hide file tree
Showing 6 changed files with 726 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4e68852dca7a16271d09269f643a8e0eb8bb500d
refs/heads/master: 2f3517418dc0684a32318f2c5b53257416448b1e
43 changes: 43 additions & 0 deletions trunk/drivers/serial/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1355,4 +1355,47 @@ config SERIAL_SC26XX_CONSOLE
help
Support for Console on SC2681/SC2692 serial ports.

config SERIAL_BFIN_SPORT
tristate "Blackfin SPORT emulate UART (EXPERIMENTAL)"
depends on BFIN && EXPERIMENTAL
select SERIAL_CORE
help
Enble support SPORT emulate UART on Blackfin series.

To compile this driver as a module, choose M here: the
module will be called bfin_sport_uart.

choice
prompt "Baud rate for Blackfin SPORT UART"
depends on SERIAL_BFIN_SPORT
default SERIAL_SPORT_BAUD_RATE_57600
help
Choose a baud rate for the SPORT UART, other uart settings are
8 bit, 1 stop bit, no parity, no flow control.

config SERIAL_SPORT_BAUD_RATE_115200
bool "115200"

config SERIAL_SPORT_BAUD_RATE_57600
bool "57600"

config SERIAL_SPORT_BAUD_RATE_38400
bool "38400"

config SERIAL_SPORT_BAUD_RATE_19200
bool "19200"

config SERIAL_SPORT_BAUD_RATE_9600
bool "9600"
endchoice

config SPORT_BAUD_RATE
int
depends on SERIAL_BFIN_SPORT
default 115200 if (SERIAL_SPORT_BAUD_RATE_115200)
default 57600 if (SERIAL_SPORT_BAUD_RATE_57600)
default 38400 if (SERIAL_SPORT_BAUD_RATE_38400)
default 19200 if (SERIAL_SPORT_BAUD_RATE_19200)
default 9600 if (SERIAL_SPORT_BAUD_RATE_9600)

endmenu
1 change: 1 addition & 0 deletions trunk/drivers/serial/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ obj-$(CONFIG_SERIAL_PXA) += pxa.o
obj-$(CONFIG_SERIAL_PNX8XXX) += pnx8xxx_uart.o
obj-$(CONFIG_SERIAL_SA1100) += sa1100.o
obj-$(CONFIG_SERIAL_BFIN) += bfin_5xx.o
obj-$(CONFIG_SERIAL_BFIN_SPORT) += bfin_sport_uart.o
obj-$(CONFIG_SERIAL_S3C2410) += s3c2410.o
obj-$(CONFIG_SERIAL_SUNCORE) += suncore.o
obj-$(CONFIG_SERIAL_SUNHV) += sunhv.o
Expand Down
Loading

0 comments on commit 50ae716

Please sign in to comment.