Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: include/ns16550.h

Issue 6715017: Fix Seaboard UART corruption on SPI activity (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/u-boot-next.git@chromeos-v2010.09
Patch Set: Chopped back a little Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « include/configs/chromeos/tegra2/seaboard/parts/uart.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * NS16550 Serial Port 2 * NS16550 Serial Port
3 * originally from linux source (arch/powerpc/boot/ns16550.h) 3 * originally from linux source (arch/powerpc/boot/ns16550.h)
4 * 4 *
5 * Cleanup and unification 5 * Cleanup and unification
6 * (C) 2009 by Detlev Zundel, DENX Software Engineering GmbH 6 * (C) 2009 by Detlev Zundel, DENX Software Engineering GmbH
7 * 7 *
8 * modified slightly to 8 * modified slightly to
9 * have addresses as offsets from CONFIG_SYS_ISA_BASE 9 * have addresses as offsets from CONFIG_SYS_ISA_BASE
10 * added a few more definitions 10 * added a few more definitions
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 #endif 156 #endif
157 157
158 /* useful defaults for LCR */ 158 /* useful defaults for LCR */
159 #define UART_LCR_8N1 0x03 159 #define UART_LCR_8N1 0x03
160 160
161 void NS16550_init (NS16550_t com_port, int baud_divisor); 161 void NS16550_init (NS16550_t com_port, int baud_divisor);
162 void NS16550_putc (NS16550_t com_port, char c); 162 void NS16550_putc (NS16550_t com_port, char c);
163 char NS16550_getc (NS16550_t com_port); 163 char NS16550_getc (NS16550_t com_port);
164 int NS16550_tstc (NS16550_t com_port); 164 int NS16550_tstc (NS16550_t com_port);
165 void NS16550_reinit (NS16550_t com_port, int baud_divisor); 165 void NS16550_reinit (NS16550_t com_port, int baud_divisor);
166 void NS16550_clear(NS16550_t com_port);
167 void NS16550_drain(NS16550_t port);
OLDNEW
« no previous file with comments | « include/configs/chromeos/tegra2/seaboard/parts/uart.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698