allow TTYS0_DIV to be set explicitly
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1334 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@ -11,11 +11,12 @@
|
||||
#define TTYS0_BAUD 115200
|
||||
#endif
|
||||
|
||||
#ifndef TTYS0_DIV
|
||||
#if ((115200%TTYS0_BAUD) != 0)
|
||||
#error Bad ttys0 baud rate
|
||||
#endif
|
||||
|
||||
#define TTYS0_DIV (115200/TTYS0_BAUD)
|
||||
#endif
|
||||
|
||||
/* Line Control Settings */
|
||||
#ifndef TTYS0_LCS
|
||||
|
Reference in New Issue
Block a user