From dabae0d8fc0fce8f56bd43239cf965814c433d38 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 6 Aug 2009 11:36:33 +0000 Subject: fix for the case that CONFIG_TTYS0_DIV is defined in mainboard's Config.lb Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4507 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/pc80/serial.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/pc80') 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 -- cgit v1.2.3