diff options
| author | Simon Rettberg | 2026-01-28 12:53:53 +0100 |
|---|---|---|
| committer | Simon Rettberg | 2026-01-28 12:53:53 +0100 |
| commit | 8e82785c584dc13e20f9229decb95bd17bbe9cd1 (patch) | |
| tree | a8b359e59196be5b2e3862bed189107f4bc9975f /src/config/serial.h | |
| parent | Merge branch 'master' into openslx (diff) | |
| parent | [prefix] Make unlzma.S compatible with 386 class CPUs (diff) | |
| download | ipxe-openslx.tar.gz ipxe-openslx.tar.xz ipxe-openslx.zip | |
Merge branch 'master' into openslxopenslx
Diffstat (limited to 'src/config/serial.h')
| -rw-r--r-- | src/config/serial.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/config/serial.h b/src/config/serial.h index 27040dc54..a372963aa 100644 --- a/src/config/serial.h +++ b/src/config/serial.h @@ -13,20 +13,28 @@ FILE_LICENCE ( GPL2_OR_LATER ); +#include <config/defaults.h> + #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 +/* Uncomment these to ignore the ACPI SPCR table (if present) */ +//#undef SERIAL_SPCR +//#define SERIAL_FIXED + +/* Early UART configuration (for bare metal prefix debugging only) */ +//#define EARLY_UART_MODEL 8250 +//#define EARLY_UART_REG_BASE 0x10000000 +//#define EARLY_UART_REG_SHIFT 0 + #include <config/named.h> #include NAMED_CONFIG(serial.h) #include <config/local/serial.h> |
