diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2015-01-05 13:05:44 -0800 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-01-06 20:14:19 +0100 |
commit | d42c9dae8528594b2ab8534d061c118c15e92d3d (patch) | |
tree | d295670554d2406e9b1ca37824b28c788e535939 /src | |
parent | 0d3cde9062e1a9890b5b735fd0bcacba5c4428e2 (diff) | |
download | coreboot-d42c9dae8528594b2ab8534d061c118c15e92d3d.tar.xz |
superio: Drop print_ implementation from non-romcc boards
Because we had no stack on romcc boards, we had a separate, not as
powerful clone of printk: print_*. Back in the day, like more than
half a decade ago, we migrated a lot of boards to printk, but we never
cleaned up the existing code to be consistent. instead, we worked around
the problem with a very messy console.h (nowadays the mess is hidden in
romstage_console.c and early_print.h)
This patch cleans up the superio code to use printk() on all non-ROMCC
boards.
Change-Id: I23fc307f1346cdb7adaaeccfafe17d9205e909ac
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: http://review.coreboot.org/8113
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src')
-rw-r--r-- | src/superio/serverengines/pilot/early_init.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/superio/serverengines/pilot/early_init.c b/src/superio/serverengines/pilot/early_init.c index 66356452e5..b60957234c 100644 --- a/src/superio/serverengines/pilot/early_init.c +++ b/src/superio/serverengines/pilot/early_init.c @@ -36,11 +36,9 @@ void pilot_early_init(pnp_devfn_t dev) { u16 port = dev >> 8; - print_debug("Using port: "); - print_debug_hex16(port); - print_debug("\n"); + printk(BIOS_DEBUG, "Using port: %04x\n", port); pilot_disable_serial(PNP_DEV(port, 0x1)); - print_debug("disable serial 1\n"); + printk(BIOS_DEBUG, "disable serial 1\n"); pnp_enter_ext_func_mode(dev); pnp_set_logical_device(PNP_DEV(port, 0x3)); |