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
This commit is contained in:
Stefan Reinauer 2009-08-06 11:36:33 +00:00 committed by Stefan Reinauer
parent 052d591e64
commit dabae0d8fc
1 changed files with 2 additions and 0 deletions

View File

@ -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