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@coresystems.de Acked-by: Stefan Reinauer stepan@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