diff options
author | Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | 2016-12-20 19:03:58 +0100 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2016-12-30 11:29:08 -0500 |
commit | 9332965e1c46ddf4e19d7050f1e957a195c703fa (patch) | |
tree | 363f10c8fcdeaff1821bf7e2e09f7bfa46454381 /src/Kconfig | |
parent | 7b7b49e2898613dd6cf82473fa9b702541f218d6 (diff) | |
download | seabios-9332965e1c46ddf4e19d7050f1e957a195c703fa.tar.gz |
serialio: Support for mmap serial ports
Some chipsets have memory mapped serial ports. The protocol is the same
as an standard uart, but with memory read/write instead of inb/outb.
Tested-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/Kconfig')
-rw-r--r-- | src/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig index e767be13..457d082c 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -532,6 +532,19 @@ menu "Debugging" default 0x3f8 help Base port for serial - generally 0x3f8, 0x2f8, 0x3e8, or 0x2e8. + config DEBUG_SERIAL_MMIO + depends on DEBUG_LEVEL != 0 && !DEBUG_SERIAL + bool "Serial port debugging via memory mapped IO" + default n + help + Send debugging information to serial port mapped in memory. + config DEBUG_SERIAL_MEM_ADDRESS + depends on DEBUG_SERIAL_MMIO + hex "Serial port memory mapped IO address" + help + On some chipsets the serial port is memory mapped, in those cases + provide the 32 bit address. E.g. 0xFEDC6000 for the AMD Kern + (a.k.a Hudson UART). config DEBUG_IO depends on QEMU_HARDWARE && DEBUG_LEVEL != 0 |