mirror of
https://github.com/ipxe/ipxe
synced 2026-02-06 13:19:28 +03:00
[uart] Remove ability to use frame formats other than 8n1
In the context of serial consoles, the use of any frame formats other than the standard 8 data bits, no parity, and one stop bit is so rare as to be nonexistent. Remove the almost certainly unused support for custom frame formats. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -16,15 +16,12 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||
#define COMCONSOLE COM1 /* I/O port address */
|
||||
|
||||
/* Keep settings from a previous user of the serial port (e.g. lilo or
|
||||
* LinuxBIOS), ignoring COMSPEED, COMDATA, COMPARITY and COMSTOP.
|
||||
* LinuxBIOS), ignoring COMSPEED.
|
||||
*/
|
||||
#undef COMPRESERVE
|
||||
|
||||
#ifndef COMPRESERVE
|
||||
#define COMSPEED 115200 /* Baud rate */
|
||||
#define COMDATA 8 /* Data bits */
|
||||
#define COMPARITY 0 /* Parity: 0=None, 1=Odd, 2=Even */
|
||||
#define COMSTOP 1 /* Stop bits */
|
||||
#endif
|
||||
|
||||
/* Early UART configuration (for bare metal prefix debugging only) */
|
||||
|
||||
Reference in New Issue
Block a user