Simplify coreboot's console/console.h
authorStefan Reinauer <stefan.reinauer@coreboot.org>
Wed, 20 Apr 2011 21:11:22 +0000 (21:11 +0000)
committerStefan Reinauer <stepan@openbios.org>
Wed, 20 Apr 2011 21:11:22 +0000 (21:11 +0000)
commitbbd2f21184fdede46f7b6136bf0be47582236376
treebeb18e1733d2d01fc3151ff94685be85179555dd
parent42fa7fe28b60b448f501e99ee285a0af12c86d34
Simplify coreboot's console/console.h

- shift most (romcc) code out of console.h into arch/x86/lib/romcc_console.c
- rename arch/x86/lib/printk_init.c to .../romstage_console.c
- drop FUNCTIONS_FOR_PRINT since __console_tx_* are already functions, so there
  should not be any side effects to eliminating another indirection.

Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Patrick Georgi <patrick@georgi-clan.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6532 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
src/arch/x86/lib/Makefile.inc
src/arch/x86/lib/printk_init.c [deleted file]
src/arch/x86/lib/romcc_console.c [new file with mode: 0644]
src/arch/x86/lib/romstage_console.c [new file with mode: 0644]
src/include/console/console.h