coreboot/src/console
Vadim Bendebury 8347f914a9 Avoid 64bit math on MIPS platforms
Low level 64 bit division and modulo functions are not available for
MIPS platforms, but are required by the printk formatter.

Modify the code to avoid 64 bit math when building for MIPS. In case
the user does print a value exceeding 2^32, send a few junk characters
to the output to indicate a corrupted value printed.

BRANCH=none
BUG=none
TEST=startup code on Urara properly prints CBFS address values which
     are passed as 64 bit integers.

Change-Id: I25b8a900b3ba4ec1da3446dcc5f03101d5cdb757
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/232294
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2014-12-02 01:57:08 +00:00
..
cbmem_console.c CBMEM CONSOLE: Add CBMEM console driver implementation. 2012-03-29 20:14:25 +02:00
console.c Add predefined __ROMSTAGE__ and __RAMSTAGE__ macros 2014-10-02 07:02:23 +00:00
die.c remove trailing whitespace 2011-11-01 19:07:45 +01:00
early_console.c arm, arm64, x86: add vprintk to early console 2014-08-30 09:15:26 +00:00
Kconfig console: add configs to support Marvell bg4cd uart 2014-10-17 03:24:42 +00:00
Makefile.inc console: add configs to support Marvell bg4cd uart 2014-10-17 03:24:42 +00:00
ne2k_console.c GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
post.c Log device path into CMOS during probe stages 2013-06-10 18:08:24 -07:00
printk.c arm, arm64, x86: add vprintk to early console 2014-08-30 09:15:26 +00:00
uart8250_console.c Do full flush on uart8250 only at end of printk. 2011-07-12 11:36:20 +02:00
uart8250mem_console.c Add uartmem_init prototype. 2012-07-24 12:17:21 +02:00
uart_wrapper.c Add console wrapper for UART driver 2014-04-25 01:48:15 +00:00
usbdebug_console.c USBDEBUG: buffer up to 8 bytes 2012-07-26 15:52:00 +02:00
vsprintf.c Add support for the tracing infastructure in coreboot. 2011-09-07 01:26:47 +02:00
vtxprintf.c Avoid 64bit math on MIPS platforms 2014-12-02 01:57:08 +00:00