[coreboot] [v2] r4507 - trunk/coreboot-v2/src/pc80
svn at coreboot.org
svn at coreboot.org
Thu Aug 6 13:36:33 CEST 2009
Author: stepan
Date: 2009-08-06 13:36:33 +0200 (Thu, 06 Aug 2009)
New Revision: 4507
Modified:
trunk/coreboot-v2/src/pc80/serial.c
Log:
fix for the case that CONFIG_TTYS0_DIV is defined in mainboard's Config.lb
Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>
Modified: trunk/coreboot-v2/src/pc80/serial.c
===================================================================
--- trunk/coreboot-v2/src/pc80/serial.c 2009-08-06 04:22:12 UTC (rev 4506)
+++ trunk/coreboot-v2/src/pc80/serial.c 2009-08-06 11:36:33 UTC (rev 4507)
@@ -13,7 +13,9 @@
#error Bad ttys0 baud rate
#endif
+#ifndef CONFIG_TTYS0_DIV
#define CONFIG_TTYS0_DIV (115200/CONFIG_TTYS0_BAUD)
+#endif
/* Line Control Settings */
#ifndef CONFIG_TTYS0_LCS
More information about the coreboot
mailing list