summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-08-06 11:36:33 +0000
committerStefan Reinauer <stepan@openbios.org>2009-08-06 11:36:33 +0000
commitdabae0d8fc0fce8f56bd43239cf965814c433d38 (patch)
tree2395b9f45aebc2bd44c11ac1aa551926a84cfb5c
parent052d591e64e6f9bc1b1b50df1794aaf51efea0bc (diff)
fix for the case that CONFIG_TTYS0_DIV is defined in mainboard's Config.lb
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4507 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/pc80/serial.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pc80/serial.c b/src/pc80/serial.c
index 5136497407..415736438b 100644
--- a/src/pc80/serial.c
+++ b/src/pc80/serial.c
@@ -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