projects
/
seabios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Introduce config option to select which IO port to send debug output on
[seabios.git]
/
src
/
output.c
diff --git
a/src/output.c
b/src/output.c
index 462ffb773d9c74f3ffb889ac508f526abe0660df..bdde7ccaa4fbac2c5ec12700c152c0de9fc58203 100644
(file)
--- a/
src/output.c
+++ b/
src/output.c
@@
-75,9
+75,9
@@
putc_debug(struct putcinfo *action, char c)
{
if (! CONFIG_DEBUG_LEVEL)
return;
- if (
! CONFIG_COREBOOT
)
+ if (
CONFIG_DEBUG_IO
)
// Send character to debug port.
- outb(c,
PORT_BIOS_DEBUG
);
+ outb(c,
CONFIG_DEBUG_IO_PORT
);
if (c == '\n')
debug_serial('\r');
debug_serial(c);