console: Move newline translation outside console_tx_byte

This gives us completely transparent low-level function to transmit
data.

Change-Id: I706791ff43d80a36a7252a4da0e6f3af92520db7
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/5336
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
Kyösti Mälkki
2014-02-04 19:03:57 +02:00
committed by Patrick Georgi
parent b3356bbff4
commit 657e0be464
9 changed files with 22 additions and 29 deletions

View File

@ -166,7 +166,7 @@ void sdram_initialize(struct pei_data *pei_data)
}
/* Pass console handler in pei_data */
pei_data->tx_byte = console_tx_byte;
pei_data->tx_byte = do_putchar;
/* Locate and call UEFI System Agent binary. */
entry = (unsigned long)cbfs_get_file_content(