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:
parent
052d591e64
commit
dabae0d8fc
|
@ -13,7 +13,9 @@
|
||||||
#error Bad ttys0 baud rate
|
#error Bad ttys0 baud rate
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef CONFIG_TTYS0_DIV
|
||||||
#define CONFIG_TTYS0_DIV (115200/CONFIG_TTYS0_BAUD)
|
#define CONFIG_TTYS0_DIV (115200/CONFIG_TTYS0_BAUD)
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Line Control Settings */
|
/* Line Control Settings */
|
||||||
#ifndef CONFIG_TTYS0_LCS
|
#ifndef CONFIG_TTYS0_LCS
|
||||||
|
|
Loading…
Reference in New Issue